OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72dafea
)
dct-test: remove unused variable cropTbl
author
Mans Rullgard
<mans@mansr.com>
Sat, 17 Dec 2011 21:35:50 +0000
(21:35 +0000)
committer
Mans Rullgard
<mans@mansr.com>
Sat, 17 Dec 2011 23:12:31 +0000
(23:12 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/dct-test.c
patch
|
blob
|
history
diff --git
a/libavcodec/dct-test.c
b/libavcodec/dct-test.c
index
1665682
..
daa95bd
100644
(file)
--- 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)