aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-16 19:23:07 +0100
committerMans Rullgard <mans@mansr.com>2011-07-16 19:39:19 +0100
commit2f07cb4d3938575d8c3c2cff83d0e1be8b68c7a8 (patch)
tree813a138c278eae1a6c31769c73eac4bcdac77564 /libavcodec
parentbd39c076885e8c6d9e05d5573433416180ef4da8 (diff)
downloadffmpeg-2f07cb4d3938575d8c3c2cff83d0e1be8b68c7a8.tar.gz
dct-test: remove write-only variable
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dct-test.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 689aef8fa9..dbf9639c1e 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];