History

lavc/iff: ilbm: unbreak decoding on big endian

Fixes #2192.

Paul B Mahol committed 13 years ago

Commit 25c75521 parent 42c6f2a1 file · +1 −1Browse files

Unified · Split

libavcodec/iff.c+1−1
@@ -341,7 +341,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 340 unmodified lines
341341 avctx->pix_fmt = AV_PIX_FMT_RGB444;
342342 } else if (avctx->codec_tag != MKTAG('D','E','E','P')) {
343343 if (avctx->bits_per_coded_sample == 24) {
344− avctx->pix_fmt = AV_PIX_FMT_RGB0;
344+ avctx->pix_fmt = AV_PIX_FMT_0BGR32;
345345 } else if (avctx->bits_per_coded_sample == 32) {
346346 avctx->pix_fmt = AV_PIX_FMT_BGR32;
347347 } else {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t