mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Move unaltered av_freep() comments to the header file.
Originally committed as revision 8253 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f690ee715d
commit
d7f654692a
@ -354,6 +354,11 @@ void av_free(void *ptr);
|
|||||||
|
|
||||||
void *av_mallocz(unsigned int size);
|
void *av_mallocz(unsigned int size);
|
||||||
char *av_strdup(const char *s);
|
char *av_strdup(const char *s);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Frees memory and sets the pointer to NULL.
|
||||||
|
* @param arg pointer to the pointer which should be freed
|
||||||
|
*/
|
||||||
void av_freep(void *ptr);
|
void av_freep(void *ptr);
|
||||||
|
|
||||||
#endif /* COMMON_H */
|
#endif /* COMMON_H */
|
||||||
|
@ -122,10 +122,6 @@ void av_free(void *ptr)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Frees memory and sets the pointer to NULL.
|
|
||||||
* @param arg pointer to the pointer which should be freed
|
|
||||||
*/
|
|
||||||
void av_freep(void *arg)
|
void av_freep(void *arg)
|
||||||
{
|
{
|
||||||
void **ptr= (void**)arg;
|
void **ptr= (void**)arg;
|
||||||
|
Loading…
Reference in New Issue
Block a user