[vlc-commits] commit: demux/ts: beatify warning digital format when dump invalid header of pes (wucan )
git at videolan.org
git at videolan.org
Sun Oct 31 11:58:38 CET 2010
vlc | branch: master | wucan <can_wu at cnbvcom.com> | Sun Oct 31 11:54:06 2010 +0100| [10ebadb26f100a56626c8b12d00cffa1e75962d1] | committer: Rémi Duraffort
demux/ts: beatify warning digital format when dump invalid header of pes
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10ebadb26f100a56626c8b12d00cffa1e75962d1
---
modules/demux/ts.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 8cec028..1af2956 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -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( !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 );
block_ChainRelease( p_pes );
return;
More information about the vlc-commits
mailing list