Mercurial > mplayer.hg
changeset 17094:cb35587c8156
fix
vf_phase.c:101: warning: suggest parentheses around + or - inside shift
vf_phase.c:102: warning: suggest parentheses around + or - inside shift
vf_phase.c:105: warning: suggest parentheses around + or - inside shift
vf_phase.c:106: warning: suggest parentheses around + or - inside shift
vf_phase.c:112: warning: suggest parentheses around + or - inside shift
vf_phase.c:113: warning: suggest parentheses around + or - inside shift
vf_phase.c:116: warning: suggest parentheses around + or - inside shift
vf_phase.c:117: warning: suggest parentheses around + or - inside shift
vf_phase.c:123: warning: suggest parentheses around + or - inside shift
vf_phase.c:124: warning: suggest parentheses around + or - inside shift
vf_phase.c:127: warning: suggest parentheses around + or - inside shift
vf_phase.c:128: warning: suggest parentheses around + or - inside shift
vf_phase.c:134: warning: suggest parentheses around + or - inside shift
vf_phase.c:135: warning: suggest parentheses around + or - inside shift
vf_phase.c:136: warning: suggest parentheses around + or - inside shift
vf_phase.c:139: warning: suggest parentheses around + or - inside shift
vf_phase.c:140: warning: suggest parentheses around + or - inside shift
vf_phase.c:141: warning: suggest parentheses around + or - inside shift
author | rathann |
---|---|
date | Mon, 05 Dec 2005 01:28:59 +0000 |
parents | e13c1bce5ad5 |
children | 33d5cf9479ce |
files | libmpcodecs/vf_phase.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_phase.c Mon Dec 05 01:28:17 2005 +0000 +++ b/libmpcodecs/vf_phase.c Mon Dec 05 01:28:59 2005 +0000 @@ -59,7 +59,7 @@ * (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