aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/rematrix_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-26 00:40:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-26 00:46:46 +0200
commit1e40b2c22b24a5758bcfce7620355750313c930d (patch)
tree1ea2e2860ad252ab6a64247b88e3b340238b6785 /libswresample/rematrix_template.c
parent9f9b2ab1b1efce851394e8ff120fb150fa0efba1 (diff)
downloadffmpeg-1e40b2c22b24a5758bcfce7620355750313c930d.tar.gz
rematrix: add type for coefficients
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/rematrix_template.c')
-rw-r--r--libswresample/rematrix_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/rematrix_template.c b/libswresample/rematrix_template.c
index 0c45fc9110..862430e184 100644
--- a/libswresample/rematrix_template.c
+++ b/libswresample/rematrix_template.c
@@ -19,14 +19,14 @@
*/
-static void RENAME(sum2)(SAMPLE *out, const SAMPLE *in1, const SAMPLE *in2, SAMPLE coeff1, SAMPLE coeff2, int len){
+static void RENAME(sum2)(SAMPLE *out, const SAMPLE *in1, const SAMPLE *in2, COEFF coeff1, COEFF coeff2, int len){
int i;
for(i=0; i<len; i++)
out[i] = R(coeff1*in1[i] + coeff2*in2[i]);
}
-static void RENAME(copy)(SAMPLE *out, const SAMPLE *in, SAMPLE coeff, int len){
+static void RENAME(copy)(SAMPLE *out, const SAMPLE *in, COEFF coeff, int len){
if(coeff == ONE){
memcpy(out, in, sizeof(SAMPLE)*len);
}else{