MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_buffer_wipe_side_data

Function hb_buffer_wipe_side_data

libhb/fifo.c:592–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590}
591
592void hb_buffer_wipe_side_data(hb_buffer_t *buf)
593{
594 for (int i = 0; i < buf->nb_side_data; i++)
595 {
596 free_side_data((AVFrameSideData **)&buf->side_data[i]);
597 }
598 buf->nb_side_data = 0;
599
600 av_freep(&buf->side_data);
601}
602
603void hb_buffer_copy_side_data(hb_buffer_t *dst, const hb_buffer_t *src)
604{

Callers 3

hb_buffer_copy_side_dataFunction · 0.85
free_buffer_resourcesFunction · 0.85

Calls 1

free_side_dataFunction · 0.70

Tested by

no test coverage detected