# HG changeset patch # User rsf # Date 1051942176 0 # Node ID 8e84e8deb5295a94b66ee81ac5f657dedb48a4be # Parent b358b7509e1a799f73c11a430095ac87472e58a2 Changed the order of two conditionals in an "if" statement, to make the code (very slightly) more efficient in the common case. diff -r b358b7509e1a -r 8e84e8deb529 mplayer.c --- a/mplayer.c Sat May 03 05:59:29 2003 +0000 +++ b/mplayer.c Sat May 03 06:09:36 2003 +0000 @@ -2204,7 +2204,7 @@ 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); }