mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
fftools/ffmpeg_filter: free input filter channel layout
Fixes the LeakSanitizer failure in fate-dca-xll-coded. It was exposed
by c65c8f1f49.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
committed by
James Almer
co-authored by
James Almer
parent
95fe0658d7
commit
6f1de91492
@@ -1037,6 +1037,7 @@ void fg_free(FilterGraph **pfg)
|
||||
av_frame_free(&ifp->opts.fallback);
|
||||
|
||||
av_buffer_unref(&ifp->hw_frames_ctx);
|
||||
av_channel_layout_uninit(&ifp->ch_layout);
|
||||
av_freep(&ifilter->linklabel);
|
||||
av_freep(&ifp->opts.name);
|
||||
av_frame_side_data_free(&ifp->side_data, &ifp->nb_side_data);
|
||||
|
||||
Reference in New Issue
Block a user