diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-31 16:38:07 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-05-17 20:29:50 +0200 |
commit | b01f6041f4260fba053c2f96ce1611ea77e833a0 (patch) | |
tree | a25c3ecccfc7f802b9384dfcc598302f28109883 /libavfilter/filtfmts.c | |
parent | e27f4b7cbf8a3fde313cfe4b3a1880bf5031e9ae (diff) | |
download | ffmpeg-b01f6041f4260fba053c2f96ce1611ea77e833a0.tar.gz |
lavfi: rename AVFilterFormats.format_count to nb_formats
This is more consistent with naming in the rest of Libav.
Diffstat (limited to 'libavfilter/filtfmts.c')
-rw-r--r-- | libavfilter/filtfmts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/filtfmts.c b/libavfilter/filtfmts.c index 1ac3116b6d..424811adfe 100644 --- a/libavfilter/filtfmts.c +++ b/libavfilter/filtfmts.c @@ -83,7 +83,7 @@ int main(int argc, char **argv) /* print the supported formats in input */ for (i = 0; i < filter_ctx->input_count; i++) { AVFilterFormats *fmts = filter_ctx->inputs[i]->out_formats; - for (j = 0; j < fmts->format_count; j++) + for (j = 0; j < fmts->nb_formats; j++) printf("INPUT[%d] %s: %s\n", i, filter_ctx->filter->inputs[i].name, av_get_pix_fmt_name(fmts->formats[j])); @@ -92,7 +92,7 @@ int main(int argc, char **argv) /* print the supported formats in output */ for (i = 0; i < filter_ctx->output_count; i++) { AVFilterFormats *fmts = filter_ctx->outputs[i]->in_formats; - for (j = 0; j < fmts->format_count; j++) + for (j = 0; j < fmts->nb_formats; j++) printf("OUTPUT[%d] %s: %s\n", i, filter_ctx->filter->outputs[i].name, av_get_pix_fmt_name(fmts->formats[j])); |