mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
loco: fix rgba on big-endian
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a084884b62
commit
9c50e69385
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user