Browse Source

Move unaltered av_malloc() comments to the header file.

Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Panagiotis Issaris 18 years ago
parent
commit
9a07029916
2 changed files with 6 additions and 5 deletions
  1. +6
    -0
      libavutil/common.h
  2. +0
    -5
      libavutil/mem.c

+ 6
- 0
libavutil/common.h View File

@@ -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);


+ 0
- 5
libavutil/mem.c View File

@@ -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;


Loading…
Cancel
Save