[FFmpeg-devel] [PATCH 2/2] avcodec/takdec: remove unused variable
Michael Niedermayer
michaelni at gmx.at
Sat Aug 2 21:43:19 CEST 2014
Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavcodec/takdec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 83abab6..5810a01 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));
}
--
1.7.9.5
More information about the ffmpeg-devel
mailing list