[vlc-devel] commit: timeout is not an integer in bugfix ( Rafaël Carré )

git version control git at videolan.org
Mon Mar 31 15:20:31 CEST 2008


vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Mon Mar 31 15:20:58 2008 +0200| [aa179ba8b65b074e4f18c3f1a2571413ee49f9c6]

timeout is not an integer in bugfix

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

 modules/access/mms/mmstu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/mms/mmstu.c b/modules/access/mms/mmstu.c
index f9691c3..61f9e38 100644
--- a/modules/access/mms/mmstu.c
+++ b/modules/access/mms/mmstu.c
@@ -1064,7 +1064,7 @@ static int NetFillBuffer( access_t *p_access )
         timeout.tv_sec = 0;
         timeout.tv_usec = 500000;
 
-        if( i_try * timeout > p_sys->i_timeout )
+        if( i_try * 500 > p_sys->i_timeout )
         {
             msg_Err(p_access, "no data received");
             return -1;




More information about the vlc-devel mailing list