From f7277a7848fde98013c2e4e5467df02e83e69fcc Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Thu, 17 Nov 2011 23:36:29 +0100 Subject: [PATCH] MKV: avoid a crash in msg_Dbg Reported by alienBob on IRC --- modules/demux/mkv/virtual_segment.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp index ccd462f8ca..3dd7c0cb8a 100644 --- a/modules/demux/mkv/virtual_segment.cpp +++ b/modules/demux/mkv/virtual_segment.cpp @@ -86,9 +86,8 @@ virtual_chapter_c * virtual_chapter_c::CreateVirtualChapter( chapter_item_c * p_ *usertime_offset = tmp; msg_Dbg( &p_main_segment->sys.demuxer, - "Virtual chapter %s from %"PRId64" to %"PRId64" - segment 0x%x", - p_chap->psz_name.c_str(), p_vchap->i_virtual_start_time, p_vchap->i_virtual_stop_time, - *(uint32_t*)p_vchap->p_segment->p_segment_uid->GetBuffer() ); + "Virtual chapter %s from %"PRId64" to %"PRId64" - " , + p_chap->psz_name.c_str(), p_vchap->i_virtual_start_time, p_vchap->i_virtual_stop_time ); return p_vchap; } -- 2.11.4.GIT