diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-08-25 08:49:23 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-08-25 08:49:23 +0200 |
commit | 4abb3539a6f0a4eb72e8214b08f37e6de9fbe533 (patch) | |
tree | 7a5abd76449ba3b8bd313a7587da6564c84c6e1e /cmdutils.c | |
parent | 2a57c9ae8f39f7023c35e1da8f99267c0440a3a8 (diff) | |
download | ffmpeg-4abb3539a6f0a4eb72e8214b08f37e6de9fbe533.tar.gz |
Fix one of the problems with -codecs, -encoders and -decoders.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c index f6f258a9d9..a5871c3207 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -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" : "."); @@ -965,7 +966,7 @@ static void print_codecs(int encoder) const AVCodec *codec = NULL; while ((codec = next_codec_for_id(desc->id, codec, encoder))) { - printf("%c", get_media_type_char(desc->type)); + printf(" %c", get_media_type_char(desc->type)); printf((codec->capabilities & CODEC_CAP_FRAME_THREADS) ? "F" : "."); printf((codec->capabilities & CODEC_CAP_SLICE_THREADS) ? "S" : "."); printf((codec->capabilities & CODEC_CAP_EXPERIMENTAL) ? "X" : "."); |