Commit ac52d273 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* forwardport [15373] which was left accidently hanging in the 0.8.5 branch

parent fb1fb42f
...@@ -973,7 +973,7 @@ static int DemuxFile( demux_t *p_demux ) ...@@ -973,7 +973,7 @@ static int DemuxFile( demux_t *p_demux )
i_diff = ( i_cc - p_pid->i_cc )&0x0f; i_diff = ( i_cc - p_pid->i_cc )&0x0f;
if( b_payload && i_diff == 1 ) if( b_payload && i_diff == 1 )
{ {
p_pid->i_cc++; p_pid->i_cc = ( p_pid->i_cc + 1 ) & 0xf;
} }
else else
{ {
...@@ -1782,7 +1782,7 @@ static vlc_bool_t GatherPES( demux_t *p_demux, ts_pid_t *pid, block_t *p_bk ) ...@@ -1782,7 +1782,7 @@ static vlc_bool_t GatherPES( demux_t *p_demux, ts_pid_t *pid, block_t *p_bk )
i_diff = ( i_cc - pid->i_cc )&0x0f; i_diff = ( i_cc - pid->i_cc )&0x0f;
if( b_payload && i_diff == 1 ) if( b_payload && i_diff == 1 )
{ {
pid->i_cc++; pid->i_cc = ( pid->i_cc + 1 ) & 0xf;
} }
else else
{ {
......
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