diff options
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_phase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_phase.c b/libmpcodecs/vf_phase.c index f8a1163f36..0014496632 100644 --- a/libmpcodecs/vf_phase.c +++ b/libmpcodecs/vf_phase.c @@ -59,7 +59,7 @@ static void do_plane(unsigned char *to, unsigned char *from, * (the result is actually multiplied by 25) */ -#define diff(a, as, b, bs) (t=(*a-b[bs]<<2)+a[as<<1]-b[-bs], t*t) +#define diff(a, as, b, bs) (t=((*a-b[bs])<<2)+a[as<<1]-b[-bs], t*t) /* * Find which field combination has the smallest average squared difference |