[FFmpeg-cvslog] avcodec/takdec: remove unused variable

Michael Niedermayer git at videolan.org
Sun Aug 3 11:41:17 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug  2 21:22:56 2014 +0200| [4fed0198216d325875047e564caa42aff4481ec4] | committer: Michael Niedermayer

avcodec/takdec: remove unused variable

Found-by: CSA
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4fed0198216d325875047e564caa42aff4481ec4
---

 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));
     }



More information about the ffmpeg-cvslog mailing list