lavc/iff: ilbm: unbreak decoding on big endian
authorPaul B Mahol <onemda@gmail.com>
Sat, 26 Jan 2013 11:58:36 +0000 (11:58 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sat, 26 Jan 2013 12:00:22 +0000 (12:00 +0000)
Fixes #2192.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/iff.c

index c4672b8..bebf6a5 100644 (file)
@@ -341,7 +341,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
             avctx->pix_fmt = AV_PIX_FMT_RGB444;
         } else if (avctx->codec_tag != MKTAG('D','E','E','P')) {
             if (avctx->bits_per_coded_sample == 24) {
-                avctx->pix_fmt = AV_PIX_FMT_RGB0;
+                avctx->pix_fmt = AV_PIX_FMT_0BGR32;
             } else if (avctx->bits_per_coded_sample == 32) {
                 avctx->pix_fmt = AV_PIX_FMT_BGR32;
             } else {