[MPlayer-cvslog] CVS: main/libmpcodecs vf_phase.c,1.3,1.4

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Mon Dec 5 02:29:01 CET 2005


CVS change done by Dominik Mierzejewski CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv4226/libmpcodecs

Modified Files:
	vf_phase.c 
Log Message:
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



Index: vf_phase.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_phase.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vf_phase.c	18 Nov 2005 14:39:24 -0000	1.3
+++ vf_phase.c	5 Dec 2005 01:28:59 -0000	1.4
@@ -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




More information about the MPlayer-cvslog mailing list