[FFmpeg-cvslog] avconv: fix usage of deprecated lavfi API
Anton Khirnov
git at videolan.org
Tue Aug 6 09:28:27 CEST 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Aug 4 16:38:25 2013 +0200| [06cd4c5a68e23f5be199c0d2d563da80989f839f] | committer: Anton Khirnov
avconv: fix usage of deprecated lavfi API
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06cd4c5a68e23f5be199c0d2d563da80989f839f
---
avconv_filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/avconv_filter.c b/avconv_filter.c
index da55d3c..085b6f1 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) \
More information about the ffmpeg-cvslog
mailing list