From: Stefano Sabatini Date: Sat, 14 Feb 2009 11:47:42 +0000 (+0000) Subject: Fix avfilter_parse_graph() invalid graph description detection. X-Git-Tag: v0.5~532 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=fd51ff1643329dc294412bc5b146c08b19fa73e2;p=coroid%2Flibav_saccubus.git Fix avfilter_parse_graph() invalid graph description detection. See the thread: "[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()". Originally committed as revision 17222 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 1fb1158a5..69f92237f 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -376,7 +376,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, index++; } while(chr == ',' || chr == ';'); - if (*filters) { + if (chr) { av_log(log_ctx, AV_LOG_ERROR, "Unable to parse graph description substring: \"%s\"\n", filters - 1);