diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 927248f2e3464eb74c97ce81b6ef15868b2048de..7dc5c283d48c91aa76f276e96bca21ab6fd6c30e 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; }