From 8b42708acb174c6bb4392577d40a17e1c942c1bd Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 22 Dec 2010 18:20:05 +0100 Subject: [PATCH] Output track IDs as integers, not chars --- src/input/r_mpeg_ps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/r_mpeg_ps.cpp b/src/input/r_mpeg_ps.cpp index 9438c1da2..8f7a4e655 100644 --- a/src/input/r_mpeg_ps.cpp +++ b/src/input/r_mpeg_ps.cpp @@ -155,7 +155,7 @@ mpeg_ps_reader_c::init_reader() { io->restore_pos(); pes_packet_length = io->read_uint16_be(); - mxverb(3, boost::format("mpeg_ps: id 0x%|1$02x| len %2% at %3%\n") % stream_id % pes_packet_length % (io->getFilePointer() - 4 - 2)); + mxverb(3, boost::format("mpeg_ps: id 0x%|1$02x| len %2% at %3%\n") % static_cast(stream_id) % pes_packet_length % (io->getFilePointer() - 4 - 2)); io->skip(pes_packet_length);