diff options
author | ritsuka <[email protected]> | 2015-06-01 17:24:50 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-06-01 17:24:50 +0000 |
commit | 40c186f13a4b9f5604155c062a523c8460eb9a4e (patch) | |
tree | f6a40e668efd93e5da6cff1cc6d28efa79d78fd8 | |
parent | ed7212d81585b107b16db52abb6e0627712eb64f (diff) |
fix three warnings.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7259 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/bd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/bd.c b/libhb/bd.c index 86a956675..422f283e6 100644 --- a/libhb/bd.c +++ b/libhb/bd.c @@ -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 %ld", ii+1, + hb_log("bd: chapter %d invalid start %lld", 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 %ld", ii+1, + hb_log("bd: chapter %d invalid duration %lld", 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 %ld", ii+1, + hb_log("bd: chapter %d invalid duration %lld", ii+1, chapter->duration); chapter->duration = ti->duration - ti->chapters[ii].start; } |