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
(parent:
4c0588b
)
png: Report more details regarding unsupported pixel formats
author
Luca Barbato
<lu_zero@gentoo.org>
Sun, 16 Jul 2017 11:46:16 +0000
(13:46 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 21 Aug 2017 07:23:44 +0000
(09:23 +0200)
libavcodec/pngdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/pngdec.c
b/libavcodec/pngdec.c
index
927248f
..
7dc5c28
100644
(file)
--- a/
libavcodec/pngdec.c
+++ b/
libavcodec/pngdec.c
@@
-521,6
+521,9
@@
static int decode_frame(AVCodecContext *avctx,
s->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) {
avctx->pix_fmt = AV_PIX_FMT_YA16BE;
} else {
+ avpriv_report_missing_feature(avctx,
+ "Bit depth %d color type %d",
+ s->bit_depth, s->color_type);
goto fail;
}