Table of Contents

av_free

Overview

Defined in mem.h

Free memory which has been allocated with av_malloc() or av_realloc().

NOTE: ptr = NULL is explicetly allowed

NOTE2: it is recommended that you use av_freep() instead

void av_free(void *ptr);

Parameters

ptr

void *ptr

The pointer to be freed.

Return value

NONE

See also

av_freep(), av_malloc(), av_realloc()


Back to ffmpeg