summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorrsf <rsf@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-03 06:09:36 +0000
committerrsf <rsf@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-03 06:09:36 +0000
commitfb8258b92527a402ff9b8dc6c260a951125e8daa (patch)
tree183e14f8d550b25166bd3c8bcf3c09a87a33021a /mplayer.c
parent63df4eb7815ef1b5df78d2712bba55982751ea2e (diff)
downloadmpv-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 67f60dbdd2..096461b312 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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);
}