Commit 3896a14b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

live555: remove read-only variable

parent 7696f44d
...@@ -1197,7 +1197,6 @@ static int Demux( demux_t *p_demux ) ...@@ -1197,7 +1197,6 @@ static int Demux( demux_t *p_demux )
TaskToken task; TaskToken task;
bool b_send_pcr = true; bool b_send_pcr = true;
int64_t i_pcr = 0;
int i; int i;
/* Check if we need to send the server a Keep-A-Live signal */ /* Check if we need to send the server a Keep-A-Live signal */
...@@ -1252,16 +1251,6 @@ static int Demux( demux_t *p_demux ) ...@@ -1252,16 +1251,6 @@ static int Demux( demux_t *p_demux )
if( tk->b_asf || tk->b_muxed ) if( tk->b_asf || tk->b_muxed )
b_send_pcr = false; b_send_pcr = false;
#if 0
if( i_pcr == 0 )
{
i_pcr = tk->i_pts;
}
else if( tk->i_pts != 0 && i_pcr > tk->i_pts )
{
i_pcr = tk->i_pts ;
}
#endif
} }
if( p_sys->i_pcr > 0 ) if( p_sys->i_pcr > 0 )
{ {
...@@ -1308,7 +1297,6 @@ static int Demux( demux_t *p_demux ) ...@@ -1308,7 +1297,6 @@ static int Demux( demux_t *p_demux )
tk->f_npt = 0.; tk->f_npt = 0.;
p_sys->i_pcr = 0; p_sys->i_pcr = 0;
p_sys->f_npt = 0.; p_sys->f_npt = 0.;
i_pcr = 0;
} }
} }
......
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