From e1975b1320073630f78957860122a6caf840f3d6 Mon Sep 17 00:00:00 2001 From: arpi Date: Mon, 7 Oct 2002 21:24:44 +0000 Subject: argh. gcc sux. someone please explain why float x=0; if(x>0) ... is true. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7662 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpcodecs/vd.c') diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 917b8d24f3..56f804261d 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -221,7 +221,7 @@ csp_again: // 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; -- cgit v1.2.3