Module: libav
Branch: master
Commit: d09298f0d6057ec2e310aebc8955df14dc844a09

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Thu Dec 22 15:40:26 2011 +0100

4xm: remove unused variables.

---

 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)

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to