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

Function hb_data_close

libhb/common.c:4410–4424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4408}
4409
4410void hb_data_close(hb_data_t **data)
4411{
4412 if (data == NULL || *data == NULL)
4413 {
4414 return;
4415 }
4416
4417 if ((*data)->bytes)
4418 {
4419 av_freep(&(*data)->bytes);
4420 }
4421
4422 av_free(*data);
4423 *data = NULL;
4424}
4425
4426hb_data_t * hb_data_dup(const hb_data_t *src)
4427{

Callers 9

hb_data_initFunction · 0.85
hb_title_closeFunction · 0.85
job_cleanFunction · 0.85
hb_audio_closeFunction · 0.85
hb_subtitle_closeFunction · 0.85
hb_set_extradataFunction · 0.85
hb_set_h264_extradataFunction · 0.85
hb_set_xiph_extradataFunction · 0.85
encavsubInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected