mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/mjpegdec: Print human readable string for APPx
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3ba056017f
commit
7e8be7081f
@ -1455,8 +1455,11 @@ static int mjpeg_decode_app(MJpegDecodeContext *s)
|
||||
id = get_bits_long(&s->gb, 32);
|
||||
len -= 6;
|
||||
|
||||
if (s->avctx->debug & FF_DEBUG_STARTCODE)
|
||||
av_log(s->avctx, AV_LOG_DEBUG, "APPx %8X len=%d\n", id, len);
|
||||
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);
|
||||
}
|
||||
|
||||
/* Buggy AVID, it puts EOI only at every 10th frame. */
|
||||
/* Also, this fourcc is used by non-avid files too, it holds some
|
||||
|
Loading…
Reference in New Issue
Block a user