You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +02:00
swresample/dither_template: Do not define macro functions to nothing
This avoids potential warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user