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

Function link_free

libavfilter/avfilter.c:198–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static void link_free(AVFilterLink **link)
199{
200 FilterLinkInternal *li;
201
202 if (!*link)
203 return;
204 li = ff_link_internal(*link);
205
206 ff_framequeue_free(&li->fifo);
207 ff_frame_pool_uninit(&li->frame_pool);
208 av_channel_layout_uninit(&(*link)->ch_layout);
209 av_frame_side_data_free(&(*link)->side_data, &(*link)->nb_side_data);
210
211 av_buffer_unref(&li->l.hw_frames_ctx);
212
213 av_freep(link);
214}
215
216static void update_link_current_pts(FilterLinkInternal *li, int64_t pts)
217{

Callers 1

free_linkFunction · 0.85

Calls 7

ff_link_internalFunction · 0.85
ff_framequeue_freeFunction · 0.85
ff_frame_pool_uninitFunction · 0.85
av_channel_layout_uninitFunction · 0.85
av_frame_side_data_freeFunction · 0.85
av_buffer_unrefFunction · 0.85
av_freepFunction · 0.85

Tested by

no test coverage detected