OSDN Git Service

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)
committerMans Rullgard <mans@mansr.com>
Fri, 4 Feb 2011 02:55:11 +0000 (02:55 +0000)
commit4359288c565705d1734f63d277f8918ee5af5e54
treef558512cc95ab6e2157bce2b56d6be911f0a0273
parente8e5dde779fca80d86e00baea26d1baca333f4c0
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>
ffmpeg.c
ffplay.c
libavfilter/avfiltergraph.c
libavfilter/avfiltergraph.h