Commit 37626f05 authored by takis's avatar takis

Move unaltered av_malloc() comments to the header file.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8250 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f3ac20bd
...@@ -330,6 +330,12 @@ tend= read_time();\ ...@@ -330,6 +330,12 @@ tend= read_time();\
#endif #endif
/* memory */ /* 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_malloc(unsigned int size);
void *av_realloc(void *ptr, unsigned int size); void *av_realloc(void *ptr, unsigned int size);
void av_free(void *ptr); void av_free(void *ptr);
......
...@@ -39,11 +39,6 @@ ...@@ -39,11 +39,6 @@
memory allocator. You do not need to suppress this file because the memory allocator. You do not need to suppress this file because the
linker will do it automatically */ linker will do it automatically */
/**
* 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_malloc(unsigned int size)
{ {
void *ptr; void *ptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment