[vlc-devel] commit: Fixed OS-X compilation. (Laurent Aimar )

git version control git at videolan.org
Sat Nov 29 11:48:27 CET 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Nov 29 11:47:59 2008 +0100| [82687ca79d212df4bf087190a5d4ce657f60b2ab] | committer: Laurent Aimar 

Fixed OS-X compilation.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=82687ca79d212df4bf087190a5d4ce657f60b2ab
---

 src/input/decoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 549edad..c61d07f 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -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 )




More information about the vlc-devel mailing list