Skip to content
Snippets Groups Projects
Commit 223a8598 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

swresample/dither_template: Do not define macro functions to nothing


This avoids potential warnings

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 3e14ed05
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
#if defined(TEMPLATE_DITHER_DBL) #if defined(TEMPLATE_DITHER_DBL)
# define RENAME(N) N ## _double # define RENAME(N) N ## _double
# define DELEM double # define DELEM double
# define CLIP(v) # define CLIP(v) while(0)
#elif defined(TEMPLATE_DITHER_FLT) #elif defined(TEMPLATE_DITHER_FLT)
# define RENAME(N) N ## _float # define RENAME(N) N ## _float
# define DELEM float # define DELEM float
# define CLIP(v) # define CLIP(v) while(0)
#elif defined(TEMPLATE_DITHER_S32) #elif defined(TEMPLATE_DITHER_S32)
# define RENAME(N) N ## _int32 # define RENAME(N) N ## _int32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment