diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-28 08:32:30 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-02 16:20:21 +0200 |
commit | 0615a39fed74c3d557c54ddb3c646bf98aa6bcf0 (patch) | |
tree | 931cb5e8822338d099630862b6eeb416098a2403 | |
parent | 22c4f3399133a62aa11f4af01e7dacea08d4ddae (diff) | |
download | ffmpeg-0615a39fed74c3d557c54ddb3c646bf98aa6bcf0.tar.gz |
avfilter/avfiltergraph: Free AVFilterGraph options properly
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavfilter/avfiltergraph.c | 4 |
1 files 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); |