changeset 10801:8c327647b2a4 libavcodec

Fix red/blue swap for 4xa files.
author cehoyos
date Thu, 07 Jan 2010 22:33:26 +0000
parents 67e430033b14
children 4f614b69b4e5
files 4xm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/4xm.c	Thu Jan 07 22:23:28 2010 +0000
+++ b/4xm.c	Thu Jan 07 22:33:26 2010 +0000
@@ -815,7 +815,7 @@
     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;
 }