[FFmpeg-cvslog] 4xm: remove unused variables.

Anton Khirnov git at videolan.org
Sat Dec 24 01:00:29 CET 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Dec 22 15:40:26 2011 +0100| [d09298f0d6057ec2e310aebc8955df14dc844a09] | committer: Anton Khirnov

4xm: remove unused variables.

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

 libavcodec/4xm.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 1c49ff1..83f0a12 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -650,8 +650,6 @@ static int decode_i_frame(FourXContext *f, const uint8_t *buf, int length){
     int x, y;
     const int width= f->avctx->width;
     const int height= f->avctx->height;
-    uint16_t *dst= (uint16_t*)f->current_picture.data[0];
-    const int stride= f->current_picture.linesize[0]>>1;
     const unsigned int bitstream_size= AV_RL32(buf);
     int token_count av_unused;
     unsigned int prestream_size;
@@ -695,7 +693,6 @@ static int decode_i_frame(FourXContext *f, const uint8_t *buf, int length){
 
             idct_put(f, x, y);
         }
-        dst += 16*stride;
     }
 
     if(get_vlc2(&f->pre_gb, f->pre_vlc.table, ACDC_VLC_BITS, 3) != 256)



More information about the ffmpeg-cvslog mailing list