avfilter_graph_parse frees inputs and outputs passed in, so we should not.
authorCarl Hetherington <cth@carlh.net>
Thu, 21 May 2015 13:19:31 +0000 (14:19 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 21 May 2015 13:20:05 +0000 (14:20 +0100)
src/lib/filter_graph.cc

index 86f291fde6fd3ada1095d9a961cbe8125de64c5e..9f80118bd468be8f6df388d7931b3f501af13e27 100644 (file)
@@ -124,9 +124,6 @@ FilterGraph::FilterGraph (shared_ptr<const FFmpegContent> content, dcp::Size s,
        if (avfilter_graph_config (graph, 0) < 0) {
                throw DecodeError (N_("could not configure filter graph."));
        }
-
-       avfilter_inout_free (&inputs);
-       avfilter_inout_free (&outputs);
 }
 
 FilterGraph::~FilterGraph ()