summaryrefslogtreecommitdiff
path: root/libavfilter/graphparser.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-24 20:39:09 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-24 20:39:09 +0000
commit5b2bb2c906d1b20234c22e2ce21cc9d9a7b4a44a (patch)
tree8dd506f1ce86571171d561c5ebe59bce8c081973 /libavfilter/graphparser.c
parent58a2d7a5c27649381f2f205e41942f1de346c39f (diff)
Simplify
Commited in SoC by Vitor Sessak on 2008-04-06 18:20:25 Originally committed as revision 13292 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r--libavfilter/graphparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 9e7aa41938..abd88bac05 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -293,7 +293,7 @@ int avfilter_graph_parse_chain(AVFilterGraph *graph, const char *filters, AVFilt
// 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;
}