avcodec/takdec: remove unused variable
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Aug 2014 19:22:56 +0000 (21:22 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Aug 2014 09:35:25 +0000 (11:35 +0200)
Found-by: CSA
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/takdec.c

index 83abab6..5810a01 100644 (file)
@@ -448,7 +448,6 @@ static int decode_subframe(TAKDecContext *s, int32_t *decoded,
     x = 1 << (32 - (15 - filter_quant));
     y = 1 << ((15 - filter_quant) - 1);
     for (i = 0, j = filter_order - 1; i < filter_order / 2; i++, j--) {
-        int tmp = y + tfilter[j];
         s->filter[j] = x - ((tfilter[i] + y) >> (15 - filter_quant));
         s->filter[i] = x - ((tfilter[j] + y) >> (15 - filter_quant));
     }