From 094d4d8691ab9ac27f3cdeb40098dd1591f03748 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 26 Aug 2017 12:48:43 +0200 Subject: [PATCH] lavc/sinewin_tablegen: Fix compilation with --enable-hardcoded-tables. Reported by irc user JCount_. --- libavcodec/sinewin_tablegen.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavcodec/sinewin_tablegen.h b/libavcodec/sinewin_tablegen.h index 30c8cbf769..0fa3561abc 100644 --- a/libavcodec/sinewin_tablegen.h +++ b/libavcodec/sinewin_tablegen.h @@ -31,14 +31,16 @@ #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.