| Submitter | Carl Eugen Hoyos |
|---|---|
| Date | April 16, 2012, 2:21 p.m. |
| Message ID | <20120416142121.1386F14620C@albiero.videolan.org> |
| Download | mbox | patch |
| Permalink | /patch/20413/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/libavcodec/loco.c b/libavcodec/loco.c index cdabd41..b1670eb 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;
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos@ag.or.at> | Mon Apr 16 16:19:41 2012 +0200| [bdeb54e176473b2c9187d4e0ee087b9876447285] | committer: Carl Eugen Hoyos Support decoding LOCO_CRGBA. Fixes a part of ticket #1222. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bdeb54e176473b2c9187d4e0ee087b9876447285 --- libavcodec/loco.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)