diff options
author | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-05 01:28:59 +0000 |
---|---|---|
committer | rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-05 01:28:59 +0000 |
commit | a3c0f4decd99cdc9a05a92160ef32b08691e99cd (patch) | |
tree | 8bcac004738f31dd51ed901835c695cdb756137f /libmpcodecs | |
parent | fd44e67463017230a158d330b7036a74534efd50 (diff) |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17095 b3059339-0415-0410-9bf9-f77b7e298cf2
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 |