diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-07 01:07:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-07 01:07:30 +0200 |
commit | 223a85985393ab6e9a71dab4a8877ed4ac15d82c (patch) | |
tree | dfdc36e959117069ecd39ce310edd64a778e7a11 /libswresample/dither_template.c | |
parent | 3e14ed05f1debb6560fff6afc89c5c3ed0ac7a0d (diff) | |
download | ffmpeg-223a85985393ab6e9a71dab4a8877ed4ac15d82c.tar.gz |
swresample/dither_template: Do not define macro functions to nothing
This avoids potential warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/dither_template.c')
-rw-r--r-- | libswresample/dither_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/dither_template.c b/libswresample/dither_template.c index 4af7312779..1e35dfb040 100644 --- a/libswresample/dither_template.c +++ b/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 |