[vlc-commits] MKV: avoid a crash in msg_Dbg

Jean-Baptiste Kempf git at videolan.org
Thu Nov 17 23:36:53 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Nov 17 23:36:29 2011 +0100| [f7277a7848fde98013c2e4e5467df02e83e69fcc] | committer: Jean-Baptiste Kempf

MKV: avoid a crash in msg_Dbg

Reported by alienBob on IRC

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7277a7848fde98013c2e4e5467df02e83e69fcc
---

 modules/demux/mkv/virtual_segment.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp
index ccd462f..3dd7c0c 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;
 }



More information about the vlc-commits mailing list