From 59043195d49dc06d65511d81470487cdce9cbae5 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 7 Jan 2010 22:33:26 +0000 Subject: [PATCH] Fix red/blue swap for 4xa files. Originally committed as revision 21070 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/4xm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index d2172ba..74f2523 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -815,7 +815,7 @@ static av_cold int decode_init(AVCodecContext *avctx){ init_vlcs(f); if(f->version>2) avctx->pix_fmt= PIX_FMT_RGB565; - else avctx->pix_fmt= PIX_FMT_RGB555; + else avctx->pix_fmt= PIX_FMT_BGR555; return 0; } -- 2.7.4