summaryrefslogtreecommitdiffstats
path: root/libavcodec/pngdec.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-04-27 21:36:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-27 21:36:30 +0200
commite91946ed23dfbb9a6341266020ed8475ec15697d (patch)
treed30938a1e4b7b2cf903ed0211d37fc333d323449 /libavcodec/pngdec.c
parent52a81cd0e413eb54f8d96a79d84f588fe01cc0cc (diff)
downloadffmpeg-streaming-e91946ed23dfbb9a6341266020ed8475ec15697d.zip
ffmpeg-streaming-e91946ed23dfbb9a6341266020ed8475ec15697d.tar.gz
Rename y400a to gray8a.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r--libavcodec/pngdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c
index 17fea68..3b31109 100644
--- a/libavcodec/pngdec.c
+++ b/libavcodec/pngdec.c
@@ -473,7 +473,7 @@ static int decode_frame(AVCodecContext *avctx,
} else if (s->color_type == PNG_COLOR_TYPE_PALETTE) {
avctx->pix_fmt = PIX_FMT_PAL8;
} else if (s->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) {
- avctx->pix_fmt = PIX_FMT_Y400A;
+ avctx->pix_fmt = PIX_FMT_GRAY8A;
} else {
goto fail;
}
OpenPOWER on IntegriCloud