Commit 978c193d authored by Michael Niedermayer's avatar Michael Niedermayer

cmdutils: omit deprecated codec ids in help output

These ids should be meaningless for the end user and would only
confuse
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 375a0c03
......@@ -1385,6 +1385,9 @@ int show_codecs(void *optctx, const char *opt, const char *arg)
const AVCodecDescriptor *desc = codecs[i];
const AVCodec *codec = NULL;
if (strstr(desc->name, "_deprecated"))
continue;
printf(" ");
printf(avcodec_find_decoder(desc->id) ? "D" : ".");
printf(avcodec_find_encoder(desc->id) ? "E" : ".");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment