[FFmpeg-cvslog] loco: fix 10l typo (missing case)

Michael Niedermayer git at videolan.org
Mon Apr 16 17:02:53 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Apr 16 16:46:53 2012 +0200| [31a45014f405e55862c9443934fa8eceb255789b] | committer: Michael Niedermayer

loco: fix 10l typo (missing case)

Found-by: Clément Bœsch <ubitux at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=31a45014f405e55862c9443934fa8eceb255789b
---

 libavcodec/loco.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index b1670eb..9f14757 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_CRGBA: LOCO_RGBA:
+    case LOCO_CRGBA: case 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;



More information about the ffmpeg-cvslog mailing list