diff options
author | Rodeo <[email protected]> | 2015-06-03 21:40:39 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-06-03 21:40:39 +0000 |
commit | 5b2d91168aca4bc6c22a03adda4aa14104ac7fd4 (patch) | |
tree | 163529252ebae957d3ac50cd0bb94b37ae9e725e /libhb | |
parent | 741af43091aeaa0f0a99f49999dce0f3bf47d552 (diff) |
bd: use the correct printf specifier for unsigned variables.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7273 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/bd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libhb/bd.c b/libhb/bd.c index 877d39b96..44b8a2e26 100644 --- a/libhb/bd.c +++ b/libhb/bd.c @@ -304,7 +304,7 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) title->hours = title->duration / 90000 / 3600; title->minutes = ( ( title->duration / 90000 ) % 3600 ) / 60; title->seconds = ( title->duration / 90000 ) % 60; - hb_log( "bd: duration is %02d:%02d:%02d (%"PRId64" ms)", + hb_log( "bd: duration is %02d:%02d:%02d (%"PRIu64" ms)", title->hours, title->minutes, title->seconds, title->duration / 90 ); @@ -524,7 +524,7 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) // Validate start time if (ti->chapters[ii+1].start < ti->chapters[ii].start) { - hb_log("bd: chapter %d invalid start %"PRId64, ii+1, + hb_log("bd: chapter %d invalid start %"PRIu64"", ii+1, ti->chapters[ii+1].start); ti->chapters[ii+1].start = ti->chapters[ii].start + chapter->duration; @@ -532,7 +532,7 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) if (ti->chapters[ii+1].start - ti->chapters[ii].start != chapter->duration) { - hb_log("bd: chapter %d invalid duration %"PRId64, ii+1, + hb_log("bd: chapter %d invalid duration %"PRIu64"", ii+1, chapter->duration); chapter->duration = ti->chapters[ii+1].start - ti->chapters[ii].start; @@ -542,7 +542,7 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) { if (ti->duration - ti->chapters[ii].start != chapter->duration) { - hb_log("bd: chapter %d invalid duration %"PRId64, ii+1, + hb_log("bd: chapter %d invalid duration %"PRIu64"", ii+1, chapter->duration); chapter->duration = ti->duration - ti->chapters[ii].start; } @@ -553,7 +553,7 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration ) chapter->minutes = ( seconds % 3600 ) / 60; chapter->seconds = ( seconds % 60 ); - hb_log( "bd: chap %d packet=%"PRIu64", %"PRId64" ms", + hb_log( "bd: chap %d packet=%"PRIu64", %"PRIu64" ms", chapter->index, chapter->block_start, chapter->duration / 90 ); @@ -907,10 +907,10 @@ static int next_packet( BLURAY *bd, uint8_t *pkt ) uint64_t pos2 = align_to_next_packet(bd, pkt); if ( pos2 == 0 ) { - hb_log( "next_packet: eof while re-establishing sync @ %"PRId64, pos ); + hb_log( "next_packet: eof while re-establishing sync @ %"PRIu64"", pos ); return 0; } - hb_log( "next_packet: sync lost @ %"PRId64", regained after %"PRId64" bytes", + hb_log( "next_packet: sync lost @ %"PRIu64", regained after %"PRIu64" bytes", pos, pos2 ); } } |