[FFmpeg-cvslog] r21070 - trunk/libavcodec/4xm.c

cehoyos subversion
Thu Jan 7 23:33:26 CET 2010


Author: cehoyos
Date: Thu Jan  7 23:33:26 2010
New Revision: 21070

Log:
Fix red/blue swap for 4xa files.

Modified:
   trunk/libavcodec/4xm.c

Modified: trunk/libavcodec/4xm.c
==============================================================================
--- trunk/libavcodec/4xm.c	Thu Jan  7 23:23:28 2010	(r21069)
+++ trunk/libavcodec/4xm.c	Thu Jan  7 23:33:26 2010	(r21070)
@@ -815,7 +815,7 @@ static av_cold int decode_init(AVCodecCo
     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;
 }



More information about the ffmpeg-cvslog mailing list