[FFmpeg-cvslog] lavc/iff: ilbm: unbreak decoding on big endian
Paul B Mahol
git at videolan.org
Sat Jan 26 15:10:55 CET 2013
ffmpeg | branch: release/1.1 | Paul B Mahol <onemda at gmail.com> | Sat Jan 26 11:58:36 2013 +0000| [c2d2bf1d6bf1119efbb014ed8c53d54b713528d9] | committer: Carl Eugen Hoyos
lavc/iff: ilbm: unbreak decoding on big endian
Fixes ticket #2192.
Signed-off-by: Paul B Mahol <onemda at gmail.com>
(cherry picked from commit 25c75525bf1da38179ec67924f0be7a2bd8faa0d)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c2d2bf1d6bf1119efbb014ed8c53d54b713528d9
---
libavcodec/iff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/iff.c b/libavcodec/iff.c
index c4672b8..bebf6a5 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 {
More information about the ffmpeg-cvslog
mailing list