diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-04 21:48:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-04 21:48:00 +0200 |
commit | 4c8bc6fdee95af4cd7a8409dec34756350078b5e (patch) | |
tree | 06e2f17f1cf3a77a0ec5c0c4ba4e91bf90b52710 /libavcodec/pngdec.c | |
parent | 0b25261d29c6b348e2dccc2985090cf10a60c34f (diff) | |
parent | e96c3b81cadd0ba84d43b1f3a54980df3785d9a5 (diff) | |
download | ffmpeg-streaming-4c8bc6fdee95af4cd7a8409dec34756350078b5e.zip ffmpeg-streaming-4c8bc6fdee95af4cd7a8409dec34756350078b5e.tar.gz |
Merge commit 'e96c3b81cadd0ba84d43b1f3a54980df3785d9a5'
* commit 'e96c3b81cadd0ba84d43b1f3a54980df3785d9a5':
avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8
Conflicts:
libavcodec/libopenjpegdec.c
libavcodec/libopenjpegenc.c
libavcodec/raw.c
libavutil/pixdesc.c
libavutil/pixfmt.h
libavutil/version.h
libswscale/swscale_internal.h
libswscale/swscale_unscaled.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r-- | libavcodec/pngdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index e46800b..66a59ae 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -654,7 +654,7 @@ static int decode_frame(AVCodecContext *avctx, avctx->pix_fmt = AV_PIX_FMT_MONOBLACK; } else if (s->bit_depth == 8 && s->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) { - avctx->pix_fmt = AV_PIX_FMT_Y400A; + avctx->pix_fmt = AV_PIX_FMT_YA8; } else { av_log(avctx, AV_LOG_ERROR, "unsupported bit depth %d " "and color type %d\n", |