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

Fix typo

parent d6d7bb61
......@@ -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_lenght = (int64_t) -1;
p_sys->i_npt_length = (int64_t) -1;
#endif
if( p_sys->i_npt_length < 0 )
p_sys->i_npt_length = -1;
......@@ -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_lenght = (int64_t) -1;
p_sys->i_npt_length = (int64_t) -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