[vlc-commits] demux:mkv: display segment/family UID using 64 bits
Steve Lhomme
git at videolan.org
Tue Jun 5 09:12:22 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 5 08:59:45 2018 +0200| [91dc3d55319b148c045b9c586773b9e9bc9b90d5] | committer: Steve Lhomme
demux:mkv: display segment/family UID using 64 bits
they're supposed to be using 128 bits
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91dc3d55319b148c045b9c586773b9e9bc9b90d5
---
modules/demux/mkv/matroska_segment_parse.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index ee27dbbc25..add75d84bd 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -980,7 +980,7 @@ void matroska_segment_c::ParseInfo( KaxInfo *info )
{
vars.obj->p_segment_uid = new KaxSegmentUID( uid );
}
- debug( vars, "UID=%x", *reinterpret_cast<uint32*>( vars.obj->p_segment_uid->GetBuffer() ) );
+ debug( vars, "UID=%" PRIx64, *reinterpret_cast<uint64*>( vars.obj->p_segment_uid->GetBuffer() ) );
}
E_CASE( KaxPrevUID, uid )
{
@@ -989,7 +989,7 @@ void matroska_segment_c::ParseInfo( KaxInfo *info )
vars.obj->p_prev_segment_uid = new KaxPrevUID( uid );
vars.obj->b_ref_external_segments = true;
}
- debug( vars, "PrevUID=%x", *reinterpret_cast<uint32*>( vars.obj->p_prev_segment_uid->GetBuffer() ) );
+ debug( vars, "PrevUID=%" PRIx64, *reinterpret_cast<uint64*>( vars.obj->p_prev_segment_uid->GetBuffer() ) );
}
E_CASE( KaxNextUID, uid )
{
@@ -998,7 +998,7 @@ void matroska_segment_c::ParseInfo( KaxInfo *info )
vars.obj->p_next_segment_uid = new KaxNextUID( uid );
vars.obj->b_ref_external_segments = true;
}
- debug( vars, "NextUID=%x", *reinterpret_cast<uint32*>( vars.obj->p_next_segment_uid->GetBuffer() ) );
+ debug( vars, "NextUID=%" PRIx64, *reinterpret_cast<uint64*>( vars.obj->p_next_segment_uid->GetBuffer() ) );
}
E_CASE( KaxTimecodeScale, tcs )
{
@@ -1033,7 +1033,7 @@ void matroska_segment_c::ParseInfo( KaxInfo *info )
E_CASE( KaxSegmentFamily, uid )
{
vars.obj->families.push_back( new KaxSegmentFamily(uid) );
- debug( vars, "Family=%x", *reinterpret_cast<uint32*>( uid.GetBuffer() ) );
+ debug( vars, "Family=%" PRIx64, *reinterpret_cast<uint64*>( uid.GetBuffer() ) );
}
E_CASE( KaxDateUTC, date )
{
@@ -1153,7 +1153,7 @@ void matroska_segment_c::ParseChapterAtom( int i_level, KaxChapterAtom *ca, chap
vars.chapters.p_segment_uid = new KaxChapterSegmentUID( uid );
vars.obj->b_ref_external_segments = true;
- debug( vars, "ChapterSegmentUID=%x", *reinterpret_cast<uint32*>( vars.chapters.p_segment_uid->GetBuffer() ) );
+ debug( vars, "ChapterSegmentUID=%" PRIx64, *reinterpret_cast<uint64*>( vars.chapters.p_segment_uid->GetBuffer() ) );
}
E_CASE( KaxChapterSegmentEditionUID, euid )
{
More information about the vlc-commits
mailing list