aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-04-16 16:19:41 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-04-16 16:19:41 +0200
commitbdeb54e176473b2c9187d4e0ee087b9876447285 (patch)
tree7494d8c72a5348806e72f4657e5032298d0dfdbf /libavcodec
parent884efd4e09696b201457feebdef684aee30be99d (diff)
downloadffmpeg-bdeb54e176473b2c9187d4e0ee087b9876447285.tar.gz
Support decoding LOCO_CRGBA.
Fixes a part of ticket #1222.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/loco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index cdabd4175c..b1670ebaa1 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -210,7 +210,7 @@ static int decode_frame(AVCodecContext *avctx,
decoded = loco_decode_plane(l, p->data[0] + p->linesize[0]*(avctx->height-1) + 2, avctx->width, avctx->height,
-p->linesize[0], buf, buf_size, 3);
break;
- case LOCO_RGBA:
+ case LOCO_CRGBA: LOCO_RGBA:
decoded = loco_decode_plane(l, p->data[0], avctx->width, avctx->height,
p->linesize[0], buf, buf_size, 4);
buf += decoded; buf_size -= decoded;