summaryrefslogtreecommitdiff
path: root/libavcodec/takdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-02 21:22:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-03 11:35:25 +0200
commit4fed0198216d325875047e564caa42aff4481ec4 (patch)
tree091f03c5bccfc3e941d0c3590c07e046601537bf /libavcodec/takdec.c
parent7dbc27dc1dd3392a004906b7c2802e86f0250807 (diff)
avcodec/takdec: remove unused variable
Found-by: CSA Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/takdec.c')
-rw-r--r--libavcodec/takdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 83abab6344..5810a01c24 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -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));
}