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
This commit is contained in:
arpi 2002-10-07 21:24:44 +00:00
parent e89f059882
commit e1975b1320
1 changed files with 1 additions and 1 deletions

View File

@ -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;