1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavc/sinewin_tablegen: Fix compilation with --enable-hardcoded-tables.

Reported by irc user JCount_.
This commit is contained in:
Carl Eugen Hoyos 2017-08-26 12:48:43 +02:00
parent 1c56becb9b
commit 094d4d8691

View File

@ -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.