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

Function av_frame_side_data_remove

libavutil/side_data.c:102–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void av_frame_side_data_remove(AVFrameSideData ***sd, int *nb_sd,
103 enum AVFrameSideDataType type)
104{
105 for (int i = *nb_sd - 1; i >= 0; i--) {
106 AVFrameSideData *entry = ((*sd)[i]);
107 if (entry->type != type)
108 continue;
109
110 free_side_data_entry(&entry);
111
112 ((*sd)[i]) = ((*sd)[*nb_sd - 1]);
113 (*nb_sd)--;
114 }
115}
116
117void av_frame_side_data_remove_by_props(AVFrameSideData ***sd, int *nb_sd,
118 int props)

Callers 8

av_frame_side_data_newFunction · 0.85
av_frame_side_data_addFunction · 0.85
av_frame_side_data_cloneFunction · 0.85
side_data_prefFunction · 0.85
config_outputFunction · 0.85
config_propsFunction · 0.85

Calls 1

free_side_data_entryFunction · 0.85

Tested by

no test coverage detected