summaryrefslogtreecommitdiff
path: root/libavfilter/formats.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-06-12 21:25:10 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-13 11:13:22 +0200
commit9baeff9506a890c8f9f27c08cf331f827c24726a (patch)
treec8d52b9e57f52cdfff694c7488e25e5a33e72fb7 /libavfilter/formats.c
parent9d0bfc5052fa73ac8df89ec9992d77b07840fdf0 (diff)
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/formats.c')
-rw-r--r--libavfilter/formats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index 1d58d95b8e..36af528c67 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -330,13 +330,13 @@ void ff_formats_changeref(AVFilterFormats **oldref, AVFilterFormats **newref)
{ \
int count = 0, i; \
\
- for (i = 0; i < ctx->input_count; i++) { \
+ for (i = 0; i < ctx->nb_inputs; i++) { \
if (ctx->inputs[i]) { \
ref(fmts, &ctx->inputs[i]->out_fmts); \
count++; \
} \
} \
- for (i = 0; i < ctx->output_count; i++) { \
+ for (i = 0; i < ctx->nb_outputs; i++) { \
if (ctx->outputs[i]) { \
ref(fmts, &ctx->outputs[i]->in_fmts); \
count++; \