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

vitor subversion
Sat May 24 22:39:09 CEST 2008


Author: vitor
Date: Sat May 24 22:39:09 2008
New Revision: 13292

Log:
Simplify
Commited in SoC by Vitor Sessak on 2008-04-06 18:20:25


Modified:
   trunk/libavfilter/graphparser.c

Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c	(original)
+++ trunk/libavfilter/graphparser.c	Sat May 24 22:39:09 2008
@@ -293,7 +293,7 @@ int avfilter_graph_parse_chain(AVFilterG
 
         // If the first filter has an input and none was given, it is
         // implicitly the input of the whole graph.
-        if (pad == 0 && graph->filters[graph->filter_count-1]->input_count == 1) {
+        if (pad == 0 && filter->input_count == 1) {
             if(link_filter(in, inpad, filter, 0))
                 goto fail;
         }




More information about the ffmpeg-cvslog mailing list