[MPlayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.60,1.61

Oded Shimon CVS syncmail at mplayerhq.hu
Sat Dec 17 21:00:19 CET 2005


CVS change done by Oded Shimon CVS

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

Modified Files:
	vf_scale.c 
Log Message:
deobfuscate some very simple code...


Index: vf_scale.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- vf_scale.c	18 Nov 2005 14:39:24 -0000	1.60
+++ vf_scale.c	17 Dec 2005 20:00:16 -0000	1.61
@@ -144,12 +144,12 @@
 	}
     }
 
-    if (vf->priv->w < 0 && (-vf->priv->w & 8)) {
-      vf->priv->w = -(-vf->priv->w & ~8);
+    if (vf->priv->w <= -8) {
+      vf->priv->w += 8;
       round_w = 1;
     }
-    if (vf->priv->h < 0 && (-vf->priv->h & 8)) {
-      vf->priv->h = -(-vf->priv->h & ~8);
+    if (vf->priv->h <= -8) {
+      vf->priv->h += 8;
       round_h = 1;
     }
 




More information about the MPlayer-cvslog mailing list