aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/rematrix_template.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-12-05 20:27:33 +0100
committerClément Bœsch <ubitux@gmail.com>2012-12-05 23:04:01 +0100
commit2273b3aaf9cc7192ec16114ba111a6f56eeab667 (patch)
tree4128abe073f7bcd874a6e338ec5b17219adfb12f /libswresample/rematrix_template.c
parent9ef29af2e86422d063af76edc88a50226282c82a (diff)
downloadffmpeg-2273b3aaf9cc7192ec16114ba111a6f56eeab667.tar.gz
swr: remove unused ONE define.
Diffstat (limited to 'libswresample/rematrix_template.c')
-rw-r--r--libswresample/rematrix_template.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libswresample/rematrix_template.c b/libswresample/rematrix_template.c
index a0d3fd1e82..b8ca901b65 100644
--- a/libswresample/rematrix_template.c
+++ b/libswresample/rematrix_template.c
@@ -19,21 +19,18 @@
*/
#if defined(TEMPLATE_REMATRIX_FLT)
-# define ONE (1.0)
# define R(x) x
# define SAMPLE float
# define COEFF float
# define INTER float
# define RENAME(x) x ## _float
#elif defined(TEMPLATE_REMATRIX_DBL)
-# define ONE (1.0)
# define R(x) x
# define SAMPLE double
# define COEFF double
# define INTER double
# define RENAME(x) x ## _double
#elif defined(TEMPLATE_REMATRIX_S16)
-# define ONE (-32768)
# define R(x) (((x) + 16384)>>15)
# define SAMPLE int16_t
# define COEFF int
@@ -96,7 +93,6 @@ static RENAME(mix_any_func_type) *RENAME(get_mix_any_func)(SwrContext *s){
return NULL;
}
-#undef ONE
#undef R
#undef SAMPLE
#undef COEFF