[Mplayer-cvslog] CVS: main/libmpcodecs vd.c,1.54,1.55

Arpi of Ize arpi at mplayerhq.hu
Mon Oct 7 23:24:59 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv1142

Modified Files:
	vd.c 
Log Message:
argh. gcc sux. someone please explain why  float x=0; if(x>0) ...  is true.


Index: vd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- vd.c	20 Sep 2002 18:57:14 -0000	1.54
+++ vd.c	7 Oct 2002 21:24:44 -0000	1.55
@@ -221,7 +221,7 @@
     // check source format aspect, calculate prescale ::atmos
     screen_size_x=sh->disp_w;
     screen_size_y=sh->disp_h;
-    if(screen_size_xy>0){
+    if(screen_size_xy>=0.001){
      if(screen_size_xy<=8){
        // -xy means x+y scale
        screen_size_x*=screen_size_xy;




More information about the MPlayer-cvslog mailing list