changed BGRA32 to RGBA32. XXX: clarify expected behaviour on big endian cpu

Originally committed as revision 1432 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Fabrice Bellard 22 years ago
parent 524c6b6342
commit 0b2612b1cd
  1. 2
      libavcodec/huffyuv.c

@ -403,7 +403,7 @@ s->bgr32=1;
case 24: case 24:
case 32: case 32:
if(s->bgr32){ if(s->bgr32){
avctx->pix_fmt = PIX_FMT_BGRA32; avctx->pix_fmt = PIX_FMT_RGBA32;
}else{ }else{
avctx->pix_fmt = PIX_FMT_BGR24; avctx->pix_fmt = PIX_FMT_BGR24;
} }

Loading…
Cancel
Save