OSDN Git Service

4xm: remove unused variables.
authorAnton Khirnov <anton@khirnov.net>
Thu, 22 Dec 2011 14:40:26 +0000 (15:40 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 23 Dec 2011 08:23:20 +0000 (09:23 +0100)
libavcodec/4xm.c

index 1c49ff1..83f0a12 100644 (file)
@@ -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)