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

Compile fixes

parent fe96bbc6
......@@ -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;
......
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