diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-08-04 16:38:25 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-08-05 10:51:41 +0200 |
commit | 06cd4c5a68e23f5be199c0d2d563da80989f839f (patch) | |
tree | 81988366e2b55e32c7b54a550efc0b85097ac4d2 | |
parent | 612a5049d9b4ac1c2a293daf75fe814b7a94fdc7 (diff) | |
download | ffmpeg-06cd4c5a68e23f5be199c0d2d563da80989f839f.tar.gz |
avconv: fix usage of deprecated lavfi API
-rw-r--r-- | avconv_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) \ |