File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1061,7 +1061,9 @@ static void filter_close(mlt_filter filter)
10611061 avfilter_graph_free (& pdata -> avfilter_graph );
10621062 av_frame_free (& pdata -> avinframe );
10631063 av_frame_free (& pdata -> avoutframe );
1064+ #if HAVE_FFMPEG_CH_LAYOUT
10641065 av_channel_layout_uninit (& pdata -> ch_layout );
1066+ #endif
10651067 free (pdata );
10661068 }
10671069 filter -> child = NULL ;
Original file line number Diff line number Diff line change @@ -1169,7 +1169,9 @@ static void link_close(mlt_link self)
11691169 avfilter_graph_free (& pdata -> avfilter_graph );
11701170 av_frame_free (& pdata -> avinframe );
11711171 av_frame_free (& pdata -> avoutframe );
1172+ #if HAVE_FFMPEG_CH_LAYOUT
11721173 av_channel_layout_uninit (& pdata -> ch_layout );
1174+ #endif
11731175 free (pdata );
11741176 }
11751177 self -> close = NULL ;
You can’t perform that action at this time.
0 commit comments