[vlc-devel] commit: You want to use mdate() instead of mtime() which is invalid ( Felix Paul Kühne )

git version control git at videolan.org
Sun Apr 27 22:40:44 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 27 22:41:49 2008 +0200| [8d5fa522855cb11b9d211ab47a2f18875874acf2]

You want to use mdate() instead of mtime() which is invalid

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

 modules/audio_output/auhal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index a27429f..7448898 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -1226,7 +1226,7 @@ static int AudioStreamChangeFormat( aout_instance_t *p_aout, AudioStreamID i_str
     for( i = 0; i < 5; i++ )
     {
         AudioStreamBasicDescription actual_format;
-        mtime_t timeout = mtime() + 500000;
+        mtime_t timeout = mdate() + 500000;
 
         if( vlc_cond_timedwait( &w.cond, &w.lock, timeout ) )
         {




More information about the vlc-devel mailing list