]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/diracdsp: Remove unused variable
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 23 Sep 2020 18:20:12 +0000 (20:20 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 26 Sep 2020 18:38:30 +0000 (20:38 +0200)
Forgotten in ca3c6c981aa5b0af8a5576020b79fdd3cdf9ae9e.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/diracdsp.c

index 4e08d3817e8826c9c653ad014f5960d5f5848af5..80dfafd78b3a0875bb42ebb0e1113ffd480175b9 100644 (file)
@@ -195,7 +195,7 @@ static void dequant_subband_ ## PX ## _c(uint8_t *src, uint8_t *dst, ptrdiff_t s
 {                                                                                          \
     int i, y;                                                                              \
     for (y = 0; y < tot_v; y++) {                                                          \
-        PX c, sign, *src_r = (PX *)src, *dst_r = (PX *)dst;                                \
+        PX c, *src_r = (PX *)src, *dst_r = (PX *)dst;                                      \
         for (i = 0; i < tot_h; i++) {                                                      \
             c = *src_r++;                                                                  \
             if     (c < 0) c = -((-(unsigned)c*qf + qs) >> 2);                             \