mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vf_colormatrix: fix macro ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c11043aca7
commit
0ed110133f
@ -37,7 +37,7 @@
|
|||||||
#include "libavutil/pixdesc.h"
|
#include "libavutil/pixdesc.h"
|
||||||
#include "libavutil/avstring.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)
|
#define CB(n) av_clip_uint8(n)
|
||||||
|
|
||||||
static const double yuv_coeff[4][3][3] = {
|
static const double yuv_coeff[4][3][3] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user