summaryrefslogtreecommitdiff
path: root/libavcodec/txd.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-01 21:58:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-01 21:58:29 +0200
commitb76a160ffa978040218a2781ac6aa4ff7a64481f (patch)
treefb4fa9e15957c5310dbe903babe426265dd7851b /libavcodec/txd.c
parentb3ab337227ec78ba2de24b1f1972e116257e9ebb (diff)
txd: Fix "set but not used" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/txd.c')
-rw-r--r--libavcodec/txd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/txd.c b/libavcodec/txd.c
index cf88a9b3bb..623364c0d6 100644
--- a/libavcodec/txd.c
+++ b/libavcodec/txd.c
@@ -47,7 +47,8 @@ static int txd_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
GetByteContext gb;
AVFrame *picture = data;
AVFrame * const p = &s->picture;
- unsigned int version, w, h, d3d_format, depth, stride, mipmap_count, flags;
+ unsigned int version, w, h, d3d_format, depth, stride, flags;
+ unsigned int av_unused mipmap_count;
unsigned int y, v;
uint8_t *ptr;
uint32_t *pal;