changeset 5171:b3fd384aaa28 libavcodec

aanscales is used only with CONFIG_ENCODERS
author benoit
date Tue, 19 Jun 2007 21:14:19 +0000
parents 0f6a38c1b63c
children 60a4f209838b
files mpegvideo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Mon Jun 18 08:48:26 2007 +0000
+++ b/mpegvideo.c	Tue Jun 19 21:14:19 2007 +0000
@@ -82,6 +82,7 @@
 /* for jpeg fast DCT */
 #define CONST_BITS 14
 
+#ifdef CONFIG_ENCODERS
 static const uint16_t aanscales[64] = {
     /* precomputed values scaled up by 14 bits */
     16384, 22725, 21407, 19266, 16384, 12873,  8867,  4520,
@@ -93,6 +94,7 @@
     8867 , 12299, 11585, 10426,  8867,  6967,  4799,  2446,
     4520 ,  6270,  5906,  5315,  4520,  3552,  2446,  1247
 };
+#endif //CONFIG_ENCODERS
 
 static const uint8_t h263_chroma_roundtab[16] = {
 //  0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15