Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 11 years ago
parent
commit
03a17f2bbf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mjpegdec.c

+ 1
- 1
libavcodec/mjpegdec.c View File

@@ -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…
Cancel
Save