loco: fix rgba on big-endian
authorPiotr Bandurski <ami_stuff@o2.pl>
Wed, 30 Jan 2013 21:22:58 +0000 (22:22 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Jan 2013 23:02:17 +0000 (00:02 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/loco.c

index 93377e2..9958c14 100644 (file)
@@ -287,7 +287,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
         break;
     case LOCO_CRGBA:
     case LOCO_RGBA:
-        avctx->pix_fmt = AV_PIX_FMT_RGB32;
+        avctx->pix_fmt = AV_PIX_FMT_BGRA;
         break;
     default:
         av_log(avctx, AV_LOG_INFO, "Unknown colorspace, index = %i\n", l->mode);