diff options
author | rsf <rsf@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-03 06:09:36 +0000 |
---|---|---|
committer | rsf <rsf@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-05-03 06:09:36 +0000 |
commit | fb8258b92527a402ff9b8dc6c260a951125e8daa (patch) | |
tree | 183e14f8d550b25166bd3c8bcf3c09a87a33021a /mplayer.c | |
parent | 63df4eb7815ef1b5df78d2712bba55982751ea2e (diff) | |
download | mpv-fb8258b92527a402ff9b8dc6c260a951125e8daa.tar.bz2 mpv-fb8258b92527a402ff9b8dc6c260a951125e8daa.tar.xz |
Changed the order of two conditionals in an "if" statement, to make the code
(very slightly) more efficient in the common case.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10054 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2204,7 +2204,7 @@ if(time_frame>0.001 && !(vo_flags&256)){ static int drop_message=0; float x; AV_delay=(a_pts-delay-audio_delay)-v_pts; - if(drop_frame_cnt>50+drop_message*250 && AV_delay>0.5){ + if(AV_delay>0.5 && drop_frame_cnt>50+drop_message*250){ ++drop_message; mp_msg(MSGT_AVSYNC,MSGL_ERR,MSGTR_SystemTooSlow); } |