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
This commit is contained in:
rsf 2003-05-03 06:09:36 +00:00
parent 63df4eb781
commit fb8258b925
1 changed files with 1 additions and 1 deletions

View File

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