changed BGRA32 to RGBA32. XXX: clarify expected behaviour on big endian cpu
authorFabrice Bellard <fabrice@bellard.org>
Sat, 11 Jan 2003 00:13:18 +0000 (00:13 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Sat, 11 Jan 2003 00:13:18 +0000 (00:13 +0000)
Originally committed as revision 1432 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/huffyuv.c

index 0eb701037d275c091ccab374e4ea6759eb4c71f4..bb2f83cee0490c329364c83a37d99ee8e3ca6a90 100644 (file)
@@ -403,7 +403,7 @@ s->bgr32=1;
     case 24:
     case 32:
         if(s->bgr32){
-            avctx->pix_fmt = PIX_FMT_BGRA32;
+            avctx->pix_fmt = PIX_FMT_RGBA32;
         }else{
             avctx->pix_fmt = PIX_FMT_BGR24;
         }