diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-24 21:40:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-24 21:43:40 +0200 |
commit | 0ed110133f77437a36f7dc91a4fb011b88f55c28 (patch) | |
tree | 79d6e81262ea05fc26035c204e6bdde77093e0f5 | |
parent | c11043aca7365add6c4c80b7cff80d22dde0eb94 (diff) | |
download | ffmpeg-0ed110133f77437a36f7dc91a4fb011b88f55c28.tar.gz |
avfilter/vf_colormatrix: fix macro ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_colormatrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c index 5ab175b65d..91ca057fd0 100644 --- a/libavfilter/vf_colormatrix.c +++ b/libavfilter/vf_colormatrix.c @@ -37,7 +37,7 @@ #include "libavutil/pixdesc.h" #include "libavutil/avstring.h" -#define NS(n) n < 0 ? (int)(n*65536.0-0.5+DBL_EPSILON) : (int)(n*65536.0+0.5) +#define NS(n) ((n) < 0 ? (int)((n)*65536.0-0.5+DBL_EPSILON) : (int)((n)*65536.0+0.5)) #define CB(n) av_clip_uint8(n) static const double yuv_coeff[4][3][3] = { |