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

* backport [18736]

 modules/demux/ts.c: Fixed erroneous warning messages (reported by Bill May).
parent a4d08390
......@@ -961,7 +961,7 @@ static int DemuxFile( demux_t *p_demux )
p_pid = &p_sys->pid[ ((p_buffer[i_pos+1]&0x1f)<<8)|p_buffer[i_pos+2] ];
/* Detect discontinuity indicator in adaptation field */
if( b_adaptation )
if( b_adaptation && p_buffer[i_pos + 4] > 0 )
{
if( p_buffer[i_pos+5]&0x80 )
msg_Warn( p_demux, "discontinuity indicator (pid=%d) ", p_pid->i_pid );
......
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