aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/graphparser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-25 19:36:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-25 19:36:58 +0200
commit1350a5c4d566b5c9d96eeaf2e40e183dbd098b16 (patch)
tree20ea1c3e4939cfe6ddf6197ad506cb4dc227f786 /libavfilter/graphparser.c
parent7659ee350b2336a24910f4d6361ccaae5bb85ec5 (diff)
downloadffmpeg-1350a5c4d566b5c9d96eeaf2e40e183dbd098b16.tar.gz
avfilter/graphparser: fix use of deprecated symbols
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 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)