Message ID | AM7PR03MB66600B7C302B7B4DC698A38E8FA89@AM7PR03MB6660.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Commit | 0615a39fed74c3d557c54ddb3c646bf98aa6bcf0 |
Headers | show |
Series | [FFmpeg-devel,1/3] avfilter/avfiltergraph: Simplify adding filter to graph | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
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);
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavfilter/avfiltergraph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)