From 0305799106c53078a24f25997cbc33debc0579f9 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Tue, 20 Feb 2007 15:07:23 +0000 Subject: [PATCH] Compile fixes --- modules/demux/live555.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp index a57b1e28a2..05ac84a82d 100644 --- a/modules/demux/live555.cpp +++ b/modules/demux/live555.cpp @@ -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; -- 2.39.5