MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / frame_data_free

Function frame_data_free

fftools/ffmpeg.c:403–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403static void frame_data_free(void *opaque, uint8_t *data)
404{
405 FrameData *fd = (FrameData *)data;
406
407 av_frame_side_data_free(&fd->side_data, &fd->nb_side_data);
408 avcodec_parameters_free(&fd->par_enc);
409
410 av_free(data);
411}
412
413static int frame_data_ensure(AVBufferRef **dst, int writable)
414{

Callers

nothing calls this directly

Calls 3

av_frame_side_data_freeFunction · 0.85
avcodec_parameters_freeFunction · 0.85
av_freeFunction · 0.50

Tested by

no test coverage detected