Make avfilter_graph_free() free the graph.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Tue, 1 Feb 2011 19:02:17 +0000 (20:02 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Feb 2011 19:31:42 +0000 (20:31 +0100)
commitab543afe47c5bc63622acce775189bb920638126
tree66728e92d84dd52f924adf8c0b5daf05855d629f
parentc68be8e135ddcd8a043142d26a5fdc4ef01b1218
Make avfilter_graph_free() free the graph.

Make avfilter_graph_free() free not only the internal structures, but
also the allocated graph, and set the graph pointer to NULL for
increased safety.

Simplify usage.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 4359288c565705d1734f63d277f8918ee5af5e54)
ffmpeg.c
ffplay.c
libavfilter/avfiltergraph.c
libavfilter/avfiltergraph.h