summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-03-06 02:46:50 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-03-18 07:37:35 +0000
commit3796fb2692f87d0000fc0aa4572ac025a6469c2b (patch)
tree45f3c06dac841aefab222a91a557883278cffdda /libavfilter/avfiltergraph.c
parentc52638cca255737eb060dcdedf5be4414e622e82 (diff)
lavfi: deprecate AVFilterGraph->resample_lavr_opts
Not used by anything at all since we don't auto insert lavr filters. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 534c6701a8..75bd516896 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -128,7 +128,9 @@ void avfilter_graph_free(AVFilterGraph **graph)
av_freep(&(*graph)->scale_sws_opts);
av_freep(&(*graph)->aresample_swr_opts);
+#if FF_API_LAVR_OPTS
av_freep(&(*graph)->resample_lavr_opts);
+#endif
av_freep(&(*graph)->filters);
av_freep(&(*graph)->internal);
av_freep(graph);