Commit 03057991 authored by Jean-Paul Saman's avatar Jean-Paul Saman
Browse files

Compile fixes

parent fe96bbc6
...@@ -852,7 +852,7 @@ static int SessionsSetup( demux_t *p_demux ) ...@@ -852,7 +852,7 @@ static int SessionsSetup( demux_t *p_demux )
/* Retrieve the starttime if possible */ /* Retrieve the starttime if possible */
p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 ); p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
#else #else
p_sys->i_npt_start = (int64_t) = -1; p_sys->i_npt_start = (int64_t) -1;
#endif #endif
if( p_sys->i_npt_start < 0 ) if( p_sys->i_npt_start < 0 )
p_sys->i_npt_start = -1; p_sys->i_npt_start = -1;
...@@ -920,7 +920,7 @@ static int Play( demux_t *p_demux ) ...@@ -920,7 +920,7 @@ static int Play( demux_t *p_demux )
/* Retrieve the starttime if possible */ /* Retrieve the starttime if possible */
p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 ); p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
#else #else
p_sys->i_npt_start = (int64_t) -1; p_sys->i_npt_start = -1;
#endif #endif
if( p_sys->i_npt_start < 0 ) if( p_sys->i_npt_start < 0 )
{ {
...@@ -1135,7 +1135,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -1135,7 +1135,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
/* Retrieve the starttime if possible */ /* Retrieve the starttime if possible */
p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 ); p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
#else #else
p_sys->i_npt_start = (int64_t) -1; p_sys->i_npt_start = -1;
#endif #endif
if( p_sys->i_npt_start < 0 ) if( p_sys->i_npt_start < 0 )
{ {
...@@ -1149,7 +1149,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -1149,7 +1149,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
/* Retrieve the duration if possible */ /* Retrieve the duration if possible */
p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 ); p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 );
#else #else
p_sys->i_npt_length = (int64_t) -1; p_sys->i_npt_length = -1;
#endif #endif
if( p_sys->i_npt_length < 0 ) if( p_sys->i_npt_length < 0 )
p_sys->i_npt_length = -1; p_sys->i_npt_length = -1;
...@@ -1211,7 +1211,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -1211,7 +1211,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
/* Retrieve the starttime if possible */ /* Retrieve the starttime if possible */
p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 ); p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 );
#else #else
p_sys->i_npt_start = (int64_t) -1; p_sys->i_npt_start = -1;
#endif #endif
if( p_sys->i_npt_start < 0 ) if( p_sys->i_npt_start < 0 )
{ {
...@@ -1225,7 +1225,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -1225,7 +1225,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
/* Retrieve the duration if possible */ /* Retrieve the duration if possible */
p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 ); p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 );
#else #else
p_sys->i_npt_length = (int64_t) -1; p_sys->i_npt_length = -1;
#endif #endif
if( p_sys->i_npt_length < 0 ) if( p_sys->i_npt_length < 0 )
p_sys->i_npt_length = -1; p_sys->i_npt_length = -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment