1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-14 00:58:38 +02:00

Fix one of the problems with -codecs, -encoders and -decoders.

This commit is contained in:
Carl Eugen Hoyos 2012-08-25 08:49:23 +02:00
parent 2a57c9ae8f
commit 4abb3539a6

View File

@ -917,6 +917,7 @@ int show_codecs(const char *opt, const char *arg)
while ((desc = avcodec_descriptor_next(desc))) {
const AVCodec *codec = NULL;
printf(" ");
printf(avcodec_find_decoder(desc->id) ? "D" : ".");
printf(avcodec_find_encoder(desc->id) ? "E" : ".");