diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-27 01:31:37 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-29 14:49:29 +0200 |
commit | 67e370ee527e9aa88d8754afd7345ffd9f6f6159 (patch) | |
tree | f1825cf6931033c10721bd65ea741303d430dbde /libavcodec/mjpegdec.c | |
parent | f156d35321bb600b2309b78185d600b2fa64d84a (diff) | |
download | ffmpeg-67e370ee527e9aa88d8754afd7345ffd9f6f6159.tar.gz |
lavc: fix usages of av_get_codec_tag_string()
Diffstat (limited to 'libavcodec/mjpegdec.c')
-rw-r--r-- | libavcodec/mjpegdec.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index f26e8a3f9a..1973132bc6 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1649,11 +1649,9 @@ static int mjpeg_decode_app(MJpegDecodeContext *s) id = get_bits_long(&s->gb, 32); len -= 6; - if (s->avctx->debug & FF_DEBUG_STARTCODE) { - char id_str[32]; - av_get_codec_tag_string(id_str, sizeof(id_str), av_bswap32(id)); - av_log(s->avctx, AV_LOG_DEBUG, "APPx (%s / %8X) len=%d\n", id_str, id, len); - } + if (s->avctx->debug & FF_DEBUG_STARTCODE) + av_log(s->avctx, AV_LOG_DEBUG, "APPx (%s / %8X) len=%d\n", + av_fourcc2str(av_bswap32(id)), id, len); /* Buggy AVID, it puts EOI only at every 10th frame. */ /* Also, this fourcc is used by non-avid files too, it holds some |