diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2007-06-19 21:14:19 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-06-19 21:14:19 +0000 |
commit | 8c71c5e45450648caf7932e6b382803588506460 (patch) | |
tree | 0f1d4ebe91e05d22bcfd748991598811c24a2023 /libavcodec | |
parent | 9e15dfebb4400d41f170cc4c088c7a670ed2c3cf (diff) | |
download | ffmpeg-8c71c5e45450648caf7932e6b382803588506460.tar.gz |
aanscales is used only with CONFIG_ENCODERS
Originally committed as revision 9370 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index b8b2bb4d5c..ff282dc028 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -82,6 +82,7 @@ void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, int w)= draw_e /* 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 @@ static const uint16_t aanscales[64] = { 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 |