Mercurial > libavcodec.hg
changeset 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 | 04f5fe406669 |
children | d35c3095f96b |
files | mdct_tablegen.c mdct_tablegen.h qdm2_tablegen.c qdm2_tablegen.h |
diffstat | 4 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mdct_tablegen.c Mon Mar 29 20:58:19 2010 +0000 +++ b/mdct_tablegen.c Mon Mar 29 21:32:38 2010 +0000 @@ -22,7 +22,6 @@ #include <stdlib.h> #define CONFIG_HARDCODED_TABLES 0 -#define av_cold #define SINETABLE_CONST #define SINETABLE(size) \ float ff_sine_##size[size]
--- a/mdct_tablegen.h Mon Mar 29 20:58:19 2010 +0000 +++ b/mdct_tablegen.h Mon Mar 29 21:32:38 2010 +0000 @@ -24,6 +24,7 @@ // do not use libavutil/mathematics.h since this is compiled both // for the host and the target and config.h is only valid for the target #include <math.h> +#include "../libavutil/attributes.h" #if !CONFIG_HARDCODED_TABLES SINETABLE( 32);