swresample/dither_template: Do not define macro functions to nothing

This avoids potential warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/135/merge
Michael Niedermayer 10 years ago
parent 3e14ed05f1
commit 223a859853
  1. 4
      libswresample/dither_template.c

@ -2,12 +2,12 @@
#if defined(TEMPLATE_DITHER_DBL)
# define RENAME(N) N ## _double
# define DELEM double
# define CLIP(v)
# define CLIP(v) while(0)
#elif defined(TEMPLATE_DITHER_FLT)
# define RENAME(N) N ## _float
# define DELEM float
# define CLIP(v)
# define CLIP(v) while(0)
#elif defined(TEMPLATE_DITHER_S32)
# define RENAME(N) N ## _int32

Loading…
Cancel
Save