]> git.sesse.net Git - vlc/commitdiff
MKV: avoid a crash in msg_Dbg
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 17 Nov 2011 22:36:29 +0000 (23:36 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 17 Nov 2011 22:36:29 +0000 (23:36 +0100)
Reported by alienBob on IRC

modules/demux/mkv/virtual_segment.cpp

index ccd462f8cace27111eba426a40c74767bd95804b..3dd7c0cb8aee9ca7ad535d4f4eea0cdd5205aecc 100644 (file)
@@ -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;
 }