comparison mdct_tablegen.c @ 11552:8bef88bc329d libavcodec

Include appropriate header in table generators instead of using a dummy av_cold define.
author reimar
date Mon, 29 Mar 2010 21:32:38 +0000
parents 3d011a01a6a0
children e03e3df6fb7d
comparison
equal deleted inserted replaced
11551:04f5fe406669 11552:8bef88bc329d
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */ 21 */
22 22
23 #include <stdlib.h> 23 #include <stdlib.h>
24 #define CONFIG_HARDCODED_TABLES 0 24 #define CONFIG_HARDCODED_TABLES 0
25 #define av_cold
26 #define SINETABLE_CONST 25 #define SINETABLE_CONST
27 #define SINETABLE(size) \ 26 #define SINETABLE(size) \
28 float ff_sine_##size[size] 27 float ff_sine_##size[size]
29 #define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0])) 28 #define FF_ARRAY_ELEMS(a) (sizeof(a) / sizeof((a)[0]))
30 #ifndef M_PI 29 #ifndef M_PI