Skip to content
Snippets Groups Projects
Commit 9f5b77c1 authored by Luca Barbato's avatar Luca Barbato
Browse files

png: Report more details regarding unsupported pixel formats

parent 4c0588b4
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment