summaryrefslogtreecommitdiff
path: root/libavcodec/loco.c
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2013-01-30 22:22:58 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-31 00:02:17 +0100
commit9c50e69385e88ec632adf90ea2dd66fe2f24feb2 (patch)
tree4f450590732fd043fc9d52fd4e55bea00b8bdf60 /libavcodec/loco.c
parenta084884b628fd9cbfe965b7ac37e59202d708c26 (diff)
downloadffmpeg-9c50e69385e88ec632adf90ea2dd66fe2f24feb2.tar.gz
loco: fix rgba on big-endian
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/loco.c')
-rw-r--r--libavcodec/loco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index 93377e2220..9958c148c7 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -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);