mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-03 02:58:02 +00:00
avcodec/mjpegdec: Print the number of bits in the unsupported pixel format error
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0bf416f262
commit
03a17f2bbf
@ -550,7 +550,7 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
|
||||
break;
|
||||
default:
|
||||
unk_pixfmt:
|
||||
av_log(s->avctx, AV_LOG_ERROR, "Unhandled pixel format 0x%x\n", pix_fmt_id);
|
||||
av_log(s->avctx, AV_LOG_ERROR, "Unhandled pixel format 0x%x bits:%d\n", pix_fmt_id, s->bits);
|
||||
s->upscale_h = s->upscale_v = 0;
|
||||
return AVERROR_PATCHWELCOME;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user