]> git.sesse.net Git - vlc/commitdiff
Compile fixes
authorJean-Paul Saman <jpsaman@videolan.org>
Tue, 20 Feb 2007 15:07:23 +0000 (15:07 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Tue, 20 Feb 2007 15:07:23 +0000 (15:07 +0000)
modules/demux/live555.cpp

index a57b1e28a26e8b789682f2eff99162414102c68a..05ac84a82dd2a5dd144ca4677a324d6f1037df6f 100644 (file)
@@ -852,7 +852,7 @@ static int SessionsSetup( demux_t *p_demux )
     /* Retrieve the starttime if possible */
     p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
 #else
-    p_sys->i_npt_start = (int64_t) -1;
+    p_sys->i_npt_start = (int64_t) -1;
 #endif
     if( p_sys->i_npt_start < 0 )
         p_sys->i_npt_start = -1;
@@ -920,7 +920,7 @@ static int Play( demux_t *p_demux )
     /* Retrieve the starttime if possible */
     p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
 #else
-    p_sys->i_npt_start = (int64_t) -1;
+    p_sys->i_npt_start = -1;
 #endif
     if( p_sys->i_npt_start < 0 )
     {
@@ -1135,7 +1135,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                 /* Retrieve the starttime if possible */
                 p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
 #else
-                p_sys->i_npt_start = (int64_t) -1;
+                p_sys->i_npt_start = -1;
 #endif
                 if( p_sys->i_npt_start < 0 )
                 {
@@ -1149,7 +1149,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                 /* Retrieve the duration if possible */
                 p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 );
 #else
-                p_sys->i_npt_length = (int64_t) -1;
+                p_sys->i_npt_length = -1;
 #endif
                 if( p_sys->i_npt_length < 0 )
                     p_sys->i_npt_length = -1;
@@ -1211,7 +1211,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             /* Retrieve the starttime if possible */
             p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
 #else
-            p_sys->i_npt_start = (int64_t) -1;
+            p_sys->i_npt_start = -1;
 #endif
             if( p_sys->i_npt_start < 0 )
             {
@@ -1225,7 +1225,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             /* Retrieve the duration if possible */
             p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 );
 #else
-            p_sys->i_npt_length = (int64_t) -1;
+            p_sys->i_npt_length = -1;
 #endif
             if( p_sys->i_npt_length < 0 )
                 p_sys->i_npt_length = -1;