mirror of https://github.com/mpv-player/mpv
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:
parent
e89f059882
commit
e1975b1320
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue