diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-01-13 00:23:16 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-01-13 00:23:16 +0300 |
commit | caeb0c30272a42c34b7f80acea90fa14cf98ec20 (patch) | |
tree | d0a8b9b1b41bd1e0dd0c39560dd9d31c0bf8d47b /libavfilter/avfiltergraph.h | |
parent | b382d1e3e49143c7e9ebab3986dd84b64073de66 (diff) |
Make avfilter_graph_free() do nothing if graph is NULL.
Originally committed as revision 26323 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r-- | libavfilter/avfiltergraph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h index 74d7a12812..1b0d242dc5 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); |