Commit 0ed11013 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_colormatrix: fix macro ()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c11043ac
......@@ -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] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment