aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-12-17 21:35:50 +0000
committerMans Rullgard <mans@mansr.com>2011-12-17 23:12:31 +0000
commite064d46e61b85d27a4e61c37b4a50944db8b188d (patch)
treeb1a2e1f2671816e60cdfa5447aecd95521290372
parent72dafea0fc0eb7230d7ebb0a7bc803e13b72aaad (diff)
downloadffmpeg-e064d46e61b85d27a4e61c37b4a50944db8b188d.tar.gz
dct-test: remove unused variable cropTbl
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--libavcodec/dct-test.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 1665682698..daa95bd0df 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -151,8 +151,6 @@ static const struct algo idct_tab[] = {
#define AANSCALE_BITS 12
-static uint8_t cropTbl[256 + 2 * MAX_NEG_CROP];
-
static int64_t gettime(void)
{
struct timeval tv;
@@ -512,13 +510,6 @@ int main(int argc, char **argv)
ff_ref_dct_init();
idct_mmx_init();
- for (i = 0; i < 256; i++)
- cropTbl[i + MAX_NEG_CROP] = i;
- for (i = 0; i < MAX_NEG_CROP; i++) {
- cropTbl[i] = 0;
- cropTbl[i + MAX_NEG_CROP + 256] = 255;
- }
-
for (;;) {
c = getopt(argc, argv, "ih4t");
if (c == -1)