Browse Source

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
tags/v0.5
Stefano Sabatini 17 years ago
parent
commit
fd51ff1643
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/graphparser.c

+ 1
- 1
libavfilter/graphparser.c View File

@@ -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);


Loading…
Cancel
Save