[FFmpeg-cvslog] loco: fix rgba on big-endian
Piotr Bandurski
git at videolan.org
Thu Jan 31 00:56:58 CET 2013
ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Wed Jan 30 22:22:58 2013 +0100| [9c50e69385e88ec632adf90ea2dd66fe2f24feb2] | committer: Michael Niedermayer
loco: fix rgba on big-endian
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9c50e69385e88ec632adf90ea2dd66fe2f24feb2
---
libavcodec/loco.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index 93377e2..9958c14 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -287,7 +287,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
break;
case LOCO_CRGBA:
case LOCO_RGBA:
- avctx->pix_fmt = AV_PIX_FMT_RGB32;
+ avctx->pix_fmt = AV_PIX_FMT_BGRA;
break;
default:
av_log(avctx, AV_LOG_INFO, "Unknown colorspace, index = %i\n", l->mode);
More information about the ffmpeg-cvslog
mailing list