Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> --- libavfilter/avfiltergraph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index ee0c82030d..d1b121cc17 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -130,8 +130,8 @@ void avfilter_graph_free(AVFilterGraph **graph) av_freep(&(*graph)->sink_links); - av_freep(&(*graph)->scale_sws_opts); - av_freep(&(*graph)->aresample_swr_opts); + av_opt_free(*graph); + av_freep(&(*graph)->filters); av_freep(&(*graph)->internal); av_freep(graph); -- 2.30.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".