diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-12 21:25:10 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-13 11:13:22 +0200 |
commit | 9baeff9506a890c8f9f27c08cf331f827c24726a (patch) | |
tree | c8d52b9e57f52cdfff694c7488e25e5a33e72fb7 /libavfilter/graphparser.c | |
parent | 9d0bfc5052fa73ac8df89ec9992d77b07840fdf0 (diff) | |
download | ffmpeg-9baeff9506a890c8f9f27c08cf331f827c24726a.tar.gz |
lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
This is more consistent with naming in the rest of Libav.
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r-- | libavfilter/graphparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index b3f295f933..5f77084020 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -226,7 +226,7 @@ static int link_filter_inouts(AVFilterContext *filt_ctx, { int pad, ret; - for (pad = 0; pad < filt_ctx->input_count; pad++) { + for (pad = 0; pad < filt_ctx->nb_inputs; pad++) { AVFilterInOut *p = *curr_inputs; if (p) { @@ -254,7 +254,7 @@ static int link_filter_inouts(AVFilterContext *filt_ctx, return AVERROR(EINVAL); } - pad = filt_ctx->output_count; + pad = filt_ctx->nb_outputs; while (pad--) { AVFilterInOut *currlinkn = av_mallocz(sizeof(AVFilterInOut)); if (!currlinkn) |