Commit bcf320ff authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

MKV: Correct format for int64_t

parent 20170b64
...@@ -834,7 +834,7 @@ void matroska_segment_c::ParseChapterAtom( int i_level, KaxChapterAtom *ca, chap ...@@ -834,7 +834,7 @@ void matroska_segment_c::ParseChapterAtom( int i_level, KaxChapterAtom *ca, chap
if( MKV_IS_ID( l, KaxChapterUID ) ) if( MKV_IS_ID( l, KaxChapterUID ) )
{ {
chapters.i_uid = uint64_t(*(KaxChapterUID*)l); chapters.i_uid = uint64_t(*(KaxChapterUID*)l);
msg_Dbg( &sys.demuxer, "| | | | + ChapterUID: %lld", chapters.i_uid ); msg_Dbg( &sys.demuxer, "| | | | + ChapterUID: %"PRId64"", chapters.i_uid );
} }
else if( MKV_IS_ID( l, KaxChapterFlagHidden ) ) else if( MKV_IS_ID( l, KaxChapterFlagHidden ) )
{ {
...@@ -848,14 +848,14 @@ void matroska_segment_c::ParseChapterAtom( int i_level, KaxChapterAtom *ca, chap ...@@ -848,14 +848,14 @@ void matroska_segment_c::ParseChapterAtom( int i_level, KaxChapterAtom *ca, chap
KaxChapterTimeStart &start =*(KaxChapterTimeStart*)l; KaxChapterTimeStart &start =*(KaxChapterTimeStart*)l;
chapters.i_start_time = uint64( start ) / INT64_C(1000); chapters.i_start_time = uint64( start ) / INT64_C(1000);
msg_Dbg( &sys.demuxer, "| | | | + ChapterTimeStart: %lld", chapters.i_start_time ); msg_Dbg( &sys.demuxer, "| | | | + ChapterTimeStart: %"PRId64"", chapters.i_start_time );
} }
else if( MKV_IS_ID( l, KaxChapterTimeEnd ) ) else if( MKV_IS_ID( l, KaxChapterTimeEnd ) )
{ {
KaxChapterTimeEnd &end =*(KaxChapterTimeEnd*)l; KaxChapterTimeEnd &end =*(KaxChapterTimeEnd*)l;
chapters.i_end_time = uint64( end ) / INT64_C(1000); chapters.i_end_time = uint64( end ) / INT64_C(1000);
msg_Dbg( &sys.demuxer, "| | | | + ChapterTimeEnd: %lld", chapters.i_end_time ); msg_Dbg( &sys.demuxer, "| | | | + ChapterTimeEnd: %"PRId64"", chapters.i_end_time );
} }
else if( MKV_IS_ID( l, KaxChapterDisplay ) ) else if( MKV_IS_ID( l, KaxChapterDisplay ) )
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment