[FFmpeg-soc] [soc]: r2097 - libavfilter/graphparser.c

vitor subversion at mplayerhq.hu
Sun Apr 6 20:20:25 CEST 2008


Author: vitor
Date: Sun Apr  6 20:20:25 2008
New Revision: 2097

Log:
Simplify

Modified:
   libavfilter/graphparser.c

Modified: libavfilter/graphparser.c
==============================================================================
--- libavfilter/graphparser.c	(original)
+++ libavfilter/graphparser.c	Sun Apr  6 20:20:25 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-soc mailing list