[FFmpeg-cvslog] r17222 - trunk/libavfilter/graphparser.c

stefano subversion
Sat Feb 14 12:47:43 CET 2009


Author: stefano
Date: Sat Feb 14 12:47:42 2009
New Revision: 17222

Log:
Fix avfilter_parse_graph() invalid graph description detection.

See the thread:
"[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()".

Modified:
   trunk/libavfilter/graphparser.c

Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c	Sat Feb 14 07:38:50 2009	(r17221)
+++ trunk/libavfilter/graphparser.c	Sat Feb 14 12:47:42 2009	(r17222)
@@ -376,7 +376,7 @@ int avfilter_parse_graph(AVFilterGraph *
         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);




More information about the ffmpeg-cvslog mailing list