[FFmpeg-cvslog] dct-test: remove write-only variable

Mans Rullgard git at videolan.org
Sun Jul 17 20:12:45 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Jul 16 19:23:07 2011 +0100| [2f07cb4d3938575d8c3c2cff83d0e1be8b68c7a8] | committer: Mans Rullgard

dct-test: remove write-only variable

Signed-off-by: Mans Rullgard <mans at mansr.com>

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

 libavcodec/dct-test.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 689aef8..dbf9639 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -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];



More information about the ffmpeg-cvslog mailing list