Commit 03a17f2b authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mjpegdec: Print the number of bits in the unsupported pixel format error

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0bf416f2
...@@ -550,7 +550,7 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s) ...@@ -550,7 +550,7 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
break; break;
default: default:
unk_pixfmt: 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; s->upscale_h = s->upscale_v = 0;
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment