See the thread: "[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()". Originally committed as revision 17222 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/graphparser.c (1 of 1 file). Show all
Unified · Split
| @@ -376,7 +376,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, · 375 unmodified lines | ||
| 376 | 376 | index++; |
| 377 | 377 | } while(chr == ',' || chr == ';'); |
| 378 | 378 | |
| 379 | − if (*filters) { | |
| 379 | + if (chr) { | |
| 380 | 380 | av_log(log_ctx, AV_LOG_ERROR, |
| 381 | 381 | "Unable to parse graph description substring: \"%s\"\n", |
| 382 | 382 | filters - 1); |