dct-test: remove write-only variable
authorMans Rullgard <mans@mansr.com>
Sat, 16 Jul 2011 18:23:07 +0000 (19:23 +0100)
committerMans Rullgard <mans@mansr.com>
Sat, 16 Jul 2011 18:39:19 +0000 (19:39 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/dct-test.c

index 689aef8..dbf9639 100644 (file)
@@ -190,7 +190,6 @@ static void idct_mmx_init(void)
 
 DECLARE_ALIGNED(16, static DCTELEM, block)[64];
 DECLARE_ALIGNED(8,  static DCTELEM, block1)[64];
-DECLARE_ALIGNED(8,  static DCTELEM, block_org)[64];
 
 static inline void mmx_emms(void)
 {
@@ -245,9 +244,6 @@ static int dct_error(const struct algo *dct, int test, int is_idct, int speed)
             break;
         }
 
-        for (i = 0; i < 64; i++)
-            block_org[i] = block1[i];
-
         if (dct->format == MMX_PERM) {
             for (i = 0; i < 64; i++)
                 block[idct_mmx_perm[i]] = block1[i];