From caeb0c30272a42c34b7f80acea90fa14cf98ec20 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 12 Jan 2011 21:23:16 +0000 Subject: Make avfilter_graph_free() do nothing if graph is NULL. Originally committed as revision 26323 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfiltergraph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/avfiltergraph.h') diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h index 74d7a12..1b0d242 100644 --- a/libavfilter/avfiltergraph.h +++ b/libavfilter/avfiltergraph.h @@ -79,7 +79,7 @@ int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt, int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx); /** - * Free a graph and destroy its links. + * Free a graph and destroy its links, graph may be NULL. */ void avfilter_graph_free(AVFilterGraph *graph); -- cgit v1.1