git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0bf416f
)
avcodec/mjpegdec: Print the number of bits in the unsupported pixel format error
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 25 Nov 2014 00:34:32 +0000
(
01:34
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 25 Nov 2014 00:34:32 +0000
(
01:34
+0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpegdec.c
b/libavcodec/mjpegdec.c
index
982829b
..
e817c0d
100644
(file)
--- a/
libavcodec/mjpegdec.c
+++ b/
libavcodec/mjpegdec.c
@@
-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;
}