summaryrefslogtreecommitdiff
path: root/libavcodec/4xm.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-12-22 15:40:26 +0100
committerAnton Khirnov <anton@khirnov.net>2011-12-23 09:23:20 +0100
commitd09298f0d6057ec2e310aebc8955df14dc844a09 (patch)
tree9fe29f6862d1295f6e248fe1af21facd08d92fe8 /libavcodec/4xm.c
parentbc6a3bd4a544608211f006e2d2868cbed4e1fde6 (diff)
4xm: remove unused variables.
Diffstat (limited to 'libavcodec/4xm.c')
-rw-r--r--libavcodec/4xm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 1c49ff1eba..83f0a12f1c 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)