aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/graphparser.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-14 11:47:42 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-14 11:47:42 +0000
commitfd51ff1643329dc294412bc5b146c08b19fa73e2 (patch)
tree65efedbd0bda64f58c99e70559025f341548b42f /libavfilter/graphparser.c
parent7fa70598e83cca650717d02ac96bcf55e9f97c19 (diff)
downloadffmpeg-fd51ff1643329dc294412bc5b146c08b19fa73e2.tar.gz
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
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r--libavfilter/graphparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 1fb1158a51..69f92237f1 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);