lavc/sinewin_tablegen: Fix compilation with --enable-hardcoded-tables.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sat, 26 Aug 2017 10:48:43 +0000 (12:48 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sat, 26 Aug 2017 10:48:43 +0000 (12:48 +0200)
Reported by irc user JCount_.

libavcodec/sinewin_tablegen.h

index 30c8cbf..0fa3561 100644 (file)
 #include "libavutil/attributes.h"
 #include "libavutil/common.h"
 
+#if !USE_FIXED
+SINETABLE( 120);
+SINETABLE( 960);
+#endif
 #if !CONFIG_HARDCODED_TABLES
 SINETABLE(  32);
 SINETABLE(  64);
-SINETABLE( 120);
 SINETABLE( 128);
 SINETABLE( 256);
 SINETABLE( 512);
-SINETABLE( 960);
 SINETABLE(1024);
 SINETABLE(2048);
 SINETABLE(4096);
@@ -62,7 +64,6 @@ SINETABLE_CONST INTFLOAT * const AAC_RENAME(ff_sine_windows)[] = {
     AAC_RENAME(ff_sine_32) , AAC_RENAME(ff_sine_64), AAC_RENAME(ff_sine_128),
     AAC_RENAME(ff_sine_256), AAC_RENAME(ff_sine_512), AAC_RENAME(ff_sine_1024),
     AAC_RENAME(ff_sine_2048), AAC_RENAME(ff_sine_4096), AAC_RENAME(ff_sine_8192),
-    AAC_RENAME(ff_sine_120), AAC_RENAME(ff_sine_960),
 };
 
 // Generate a sine window.