User Tools

Site Tools


ffmpeg:av_freep

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ffmpeg:av_freep [2009/07/21 12:04] devaffmpeg:av_freep [2009/07/21 12:10] deva
Line 13: Line 13:
 <code c>void *ptr</code> <code c>void *ptr</code>
 Pointer to the pointer to the memory block which should be freed. Pointer to the pointer to the memory block which should be freed.
 +NOTE: ptr should be declared as a void **, eg. it should be used as in the following example:
 +<code c>
 +void *p = av_malloc(42);
 +av_freep(&p);
 +// Now the memory is freed, and p has the value NULL.
 +</code>
 +
 +====Return value====
 +NONE
 +
 +====See also====
 +[[ffmpeg:av_free()]], [[ffmpeg:av_malloc()]], [[ffmpeg:av_realloc()]]
  
 ---- ----
 Back to [[ffmpeg:ffmpeg]] Back to [[ffmpeg:ffmpeg]]
ffmpeg/av_freep.txt · Last modified: 2009/07/21 12:12 by deva