Commit bdeb54e1 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Support decoding LOCO_CRGBA.

Fixes a part of ticket #1222.
parent 884efd4e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment