From 06cd4c5a68e23f5be199c0d2d563da80989f839f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 4 Aug 2013 16:38:25 +0200 Subject: avconv: fix usage of deprecated lavfi API --- avconv_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avconv_filter.c') diff --git a/avconv_filter.c b/avconv_filter.c index da55d3c89f..085b6f1c89 100644 --- a/avconv_filter.c +++ b/avconv_filter.c @@ -384,7 +384,7 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter, { \ AVFilterContext *ctx = inout->filter_ctx; \ AVFilterPad *pads = in ? ctx->input_pads : ctx->output_pads; \ - int nb_pads = in ? ctx->input_count : ctx->output_count; \ + int nb_pads = in ? ctx->nb_inputs : ctx->nb_outputs; \ AVIOContext *pb; \ \ if (avio_open_dyn_buf(&pb) < 0) \ -- cgit v1.2.3