From 1350a5c4d566b5c9d96eeaf2e40e183dbd098b16 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 25 Aug 2013 19:36:58 +0200 Subject: [PATCH] avfilter/graphparser: fix use of deprecated symbols Signed-off-by: Michael Niedermayer --- libavfilter/graphparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index e14c4ecc32..b1368d9e38 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -545,7 +545,7 @@ int avfilter_graph_parse_ptr(AVFilterGraph *graph, const char *filters, if ((ret = parse_filter(&filter, &filters, graph, index, log_ctx)) < 0) goto end; - if (filter->input_count == 1 && !curr_inputs && !index) { + if (filter->nb_inputs == 1 && !curr_inputs && !index) { /* First input pad, assume it is "[in]" if not specified */ const char *tmp = "[in]"; if ((ret = parse_inputs(&tmp, &curr_inputs, &open_outputs, log_ctx)) < 0)