From: Carl Hetherington Date: Thu, 21 May 2015 13:19:31 +0000 (+0100) Subject: avfilter_graph_parse frees inputs and outputs passed in, so we should not. X-Git-Tag: v2.0.48~84 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=61bafeda23d9e849f636ac416a745b0ab28bc103;p=dcpomatic.git avfilter_graph_parse frees inputs and outputs passed in, so we should not. --- diff --git a/src/lib/filter_graph.cc b/src/lib/filter_graph.cc index 86f291fde..9f80118bd 100644 --- a/src/lib/filter_graph.cc +++ b/src/lib/filter_graph.cc @@ -124,9 +124,6 @@ FilterGraph::FilterGraph (shared_ptr 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 ()