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