diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2017-07-16 13:46:16 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2017-08-21 09:23:44 +0200 |
commit | 9f5b77c16f4da6248b57f0601364d9c762c620c2 (patch) | |
tree | b7c66591521d399c3a08318c74c5f9ed8b711ea2 /libavcodec/pngdec.c | |
parent | 4c0588b4562abad5540f6a5435c62828de9e4fdf (diff) | |
download | ffmpeg-streaming-9f5b77c16f4da6248b57f0601364d9c762c620c2.zip ffmpeg-streaming-9f5b77c16f4da6248b57f0601364d9c762c620c2.tar.gz |
png: Report more details regarding unsupported pixel formats
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r-- | libavcodec/pngdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 927248f..7dc5c28 100644 --- 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; } |