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 0eb7010..bb2f83c 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;
         }