aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-01-26 11:58:36 +0000
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-01-26 15:10:02 +0100
commitc2d2bf1d6bf1119efbb014ed8c53d54b713528d9 (patch)
tree3b9ca6cd5616b9d591562397c592375cb01e50eb
parent302094e1d2ea1cb59ca60d194452af9be55f43af (diff)
downloadffmpeg-c2d2bf1d6bf1119efbb014ed8c53d54b713528d9.tar.gz
lavc/iff: ilbm: unbreak decoding on big endian
Fixes ticket #2192. Signed-off-by: Paul B Mahol <onemda@gmail.com> (cherry picked from commit 25c75525bf1da38179ec67924f0be7a2bd8faa0d)
-rw-r--r--libavcodec/iff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/iff.c b/libavcodec/iff.c
index c4672b8f91..bebf6a5272 100644
--- a/libavcodec/iff.c
+++ b/libavcodec/iff.c
@@ -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 {