Fixed OS-X compilation.

This commit is contained in:
Laurent Aimar 2008-11-29 11:47:59 +01:00
parent 07ffb2e144
commit 82687ca79d

View File

@ -1150,7 +1150,7 @@ static void DecoderPlayAudio( decoder_t *p_dec, aout_buffer_t *p_audio,
/* Do not wait against unprotected date */
const mtime_t i_deadline = p_audio->start_date - AOUT_MAX_PREPARE_TIME;
while( !b_reject && i_deadline - VLC_HARD_MIN_SLEEP > mdate() )
while( !b_reject && i_deadline > mdate() )
{
vlc_mutex_lock( &p_owner->lock );
if( p_owner->b_flushing || p_dec->b_die )