diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-26 00:40:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-26 00:46:46 +0200 |
commit | 1e40b2c22b24a5758bcfce7620355750313c930d (patch) | |
tree | 1ea2e2860ad252ab6a64247b88e3b340238b6785 /libswresample/rematrix.c | |
parent | 9f9b2ab1b1efce851394e8ff120fb150fa0efba1 (diff) | |
download | ffmpeg-1e40b2c22b24a5758bcfce7620355750313c930d.tar.gz |
rematrix: add type for coefficients
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/rematrix.c')
-rw-r--r-- | libswresample/rematrix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c index 4a3ada62f4..b3e3e4a664 100644 --- a/libswresample/rematrix.c +++ b/libswresample/rematrix.c @@ -25,16 +25,19 @@ #define ONE (1.0) #define R(x) x #define SAMPLE float +#define COEFF float #define RENAME(x) x ## _float #include "rematrix_template.c" #undef SAMPLE #undef RENAME #undef R #undef ONE +#undef COEFF #define ONE (-32768) #define R(x) (((x) + 16384)>>15) #define SAMPLE int16_t +#define COEFF int #define RENAME(x) x ## _s16 #include "rematrix_template.c" |