[FFmpeg-cvslog] smacker: remove dead code

Timothy Gu git at videolan.org
Fri Jul 18 13:35:49 CEST 2014


ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Thu Jul 17 19:25:42 2014 -0700| [0035783488cc02e88bd6348fd2e9a24338f144be] | committer: Michael Niedermayer

smacker: remove dead code

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/smacker.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c
index 644beb3..518bdad 100644
--- a/libavcodec/smacker.c
+++ b/libavcodec/smacker.c
@@ -438,7 +438,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
     bw = avctx->width >> 2;
     bh = avctx->height >> 2;
     blocks = bw * bh;
-    out = smk->pic->data[0];
     stride = smk->pic->linesize[0];
     while(blk < blocks) {
         int type, run, mode;
@@ -499,7 +498,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
                     out += stride;
                     out[0] = out[1] = pix & 0xFF;
                     out[2] = out[3] = pix >> 8;
-                    out += stride;
                     break;
                 case 2:
                     for(i = 0; i < 2; i++) {



More information about the ffmpeg-cvslog mailing list