diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-10-06 13:29:37 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-12 12:45:39 +0200 |
commit | 59ee9f78b0cc4fb84ae606fa317d8102ad32a627 (patch) | |
tree | 253bd434e8b7416d62d8d5f16f1f443cf05c7bd4 /libavfilter/filtfmts.c | |
parent | 50ba57e0ce63d9904269ea0728936a0c79f8bfb5 (diff) | |
download | ffmpeg-59ee9f78b0cc4fb84ae606fa317d8102ad32a627.tar.gz |
lavfi: do not use av_pix_fmt_descriptors directly.
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 8b23c7b844..3ec8116635 100644 --- a/libavfilter/filtfmts.c +++ b/libavfilter/filtfmts.c @@ -89,7 +89,7 @@ int main(int argc, char **argv) for (j = 0; j < fmts->format_count; j++) printf("INPUT[%d] %s: %s\n", i, filter_ctx->filter->inputs[i].name, - av_pix_fmt_descriptors[fmts->formats[j]].name); + av_get_pix_fmt_name(fmts->formats[j])); } /* print the supported formats in output */ @@ -98,7 +98,7 @@ int main(int argc, char **argv) for (j = 0; j < fmts->format_count; j++) printf("OUTPUT[%d] %s: %s\n", i, filter_ctx->filter->outputs[i].name, - av_pix_fmt_descriptors[fmts->formats[j]].name); + av_get_pix_fmt_name(fmts->formats[j])); } avfilter_free(filter_ctx); |