mirror of https://git.ffmpeg.org/ffmpeg.git
Include appropriate header in table generators instead of using a dummy
av_cold define. Originally committed as revision 22723 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4f798a6ab2
commit
30ad1a6651
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#define CONFIG_HARDCODED_TABLES 0
|
#define CONFIG_HARDCODED_TABLES 0
|
||||||
#define av_cold
|
|
||||||
#define SINETABLE_CONST
|
#define SINETABLE_CONST
|
||||||
#define SINETABLE(size) \
|
#define SINETABLE(size) \
|
||||||
float ff_sine_##size[size]
|
float ff_sine_##size[size]
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
// do not use libavutil/mathematics.h since this is compiled both
|
// 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
|
// for the host and the target and config.h is only valid for the target
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include "../libavutil/attributes.h"
|
||||||
|
|
||||||
#if !CONFIG_HARDCODED_TABLES
|
#if !CONFIG_HARDCODED_TABLES
|
||||||
SINETABLE( 32);
|
SINETABLE( 32);
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#define av_cold
|
|
||||||
#define CONFIG_HARDCODED_TABLES 0
|
#define CONFIG_HARDCODED_TABLES 0
|
||||||
#include "qdm2_tablegen.h"
|
#include "qdm2_tablegen.h"
|
||||||
#include "tableprint.h"
|
#include "tableprint.h"
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include "../libavutil/attributes.h"
|
||||||
|
|
||||||
#define SOFTCLIP_THRESHOLD 27600
|
#define SOFTCLIP_THRESHOLD 27600
|
||||||
#define HARDCLIP_THRESHOLD 35716
|
#define HARDCLIP_THRESHOLD 35716
|
||||||
|
|
Loading…
Reference in New Issue