Merge commit '06cd4c5a68e23f5be199c0d2d563da80989f839f'
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Aug 2013 07:20:05 +0000 (09:20 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Aug 2013 07:20:22 +0000 (09:20 +0200)
* commit '06cd4c5a68e23f5be199c0d2d563da80989f839f':
  avconv: fix usage of deprecated lavfi API

Merged-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_filter.c

index 89ee7e9426e916063c6195e479e51404b3f822b1..281d12c8ec58f260ead9296112e13567b52276fe 100644 (file)
@@ -548,7 +548,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)                                \