diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-05 13:45:52 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-03-05 13:45:52 +0000 |
commit | 9a07029916629a7408d68c7a73fc989bf334ee1e (patch) | |
tree | 8839100eea889a2e9868f7d0bdf1f45b417b2296 /libavutil/common.h | |
parent | bdd54e375815e9fe0742fd2f3653e58eac3e78fc (diff) | |
download | ffmpeg-9a07029916629a7408d68c7a73fc989bf334ee1e.tar.gz |
Move unaltered av_malloc() comments to the header file.
Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r-- | libavutil/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index c5c88c1902..954cb5c06e 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -330,6 +330,12 @@ tend= read_time();\ #endif /* memory */ + +/** + * Memory allocation of size byte with alignment suitable for all + * memory accesses (including vectors if available on the + * CPU). av_malloc(0) must return a non NULL pointer. + */ void *av_malloc(unsigned int size); void *av_realloc(void *ptr, unsigned int size); void av_free(void *ptr); |