Bump ffmpeg and try to fix small leak with filters.
[dcpomatic.git] / src / lib / filter_graph.cc
index cd5d198079683f588c2a12c68a1648e4a5136e29..7c006aa58834eaf5eb22f1eb80c61d52b37ea5dd 100644 (file)
@@ -122,7 +122,8 @@ FilterGraph::FilterGraph (shared_ptr<const FFmpegContent> content, libdcp::Size
                throw DecodeError (N_("could not configure filter graph."));
        }
 
-       /* XXX: leaking `inputs' / `outputs' ? */
+       avfilter_inout_free (&inputs);
+       avfilter_inout_free (&outputs);
 }
 
 FilterGraph::~FilterGraph ()