Commit 10ebadb2 authored by wucan's avatar wucan Committed by Rémi Duraffort

demux/ts: beatify warning digital format when dump invalid header of pes

Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 484ba525
...@@ -1680,7 +1680,7 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid ) ...@@ -1680,7 +1680,7 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid )
if( header[0] != 0 || header[1] != 0 || header[2] != 1 ) if( header[0] != 0 || header[1] != 0 || header[2] != 1 )
{ {
if( !p_demux->p_sys->b_silent ) if( !p_demux->p_sys->b_silent )
msg_Warn( p_demux, "invalid header [0x%x:%x:%x:%x] (pid: %d)", msg_Warn( p_demux, "invalid header [0x%02x:%02x:%02x:%02x] (pid: %d)",
header[0], header[1],header[2],header[3], pid->i_pid ); header[0], header[1],header[2],header[3], pid->i_pid );
block_ChainRelease( p_pes ); block_ChainRelease( p_pes );
return; return;
......
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