]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avfiltergraph.c
lavfi: deprecate AVFilterGraph->resample_lavr_opts
[ffmpeg] / libavfilter / avfiltergraph.c
index 534c6701a843b6d8b392f43848ddca177ca239d9..75bd516896842a014df4fb5d4e3d52e6bff5a091 100644 (file)
@@ -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);