Revision 67d96fb4 libavcodec/pngdec.c

View differences:

libavcodec/pngdec.c
489 489
                    avctx->pix_fmt = PIX_FMT_MONOBLACK;
490 490
                } else if (s->color_type == PNG_COLOR_TYPE_PALETTE) {
491 491
                    avctx->pix_fmt = PIX_FMT_PAL8;
492
                } else if (s->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) {
493
                    avctx->pix_fmt = PIX_FMT_Y400A;
492 494
                } else {
493 495
                    goto fail;
494 496
                }

Also available in: Unified diff