summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-13 10:54:29 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-13 10:54:29 +0000
commit070c050f0a82887d6eafa33e81361929d6b9761a (patch)
tree8606ebe4cd49bde8eab85efd57bcc66d457c9301 /libass
parent51367ea3449d68aa246cb0e8000087f792c687b1 (diff)
downloadmpv-070c050f0a82887d6eafa33e81361929d6b9761a.tar.bz2
mpv-070c050f0a82887d6eafa33e81361929d6b9761a.tar.xz
Replace %lld with PRId64, part 2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19384 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r--libass/ass.c2
-rw-r--r--libass/ass_render.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/libass/ass.c b/libass/ass.c
index 76d97ca2e3..4738946d95 100644
--- a/libass/ass.c
+++ b/libass/ass.c
@@ -505,7 +505,7 @@ void ass_process_line(ass_track_t* track, char *data, int size, long long timeco
str = malloc(size + 1);
memcpy(str, data, size);
str[size] = '\0';
- mp_msg(MSGT_GLOBAL, MSGL_V, "event at %" PRId64 ", +%" PRId64 ": %s \n", (uint64_t)timecode, (uint64_t)duration, str);
+ mp_msg(MSGT_GLOBAL, MSGL_V, "event at %" PRId64 ", +%" PRId64 ": %s \n", (int64_t)timecode, (int64_t)duration, str);
eid = ass_alloc_event(track);
event = track->events + eid;
diff --git a/libass/ass_render.c b/libass/ass_render.c
index f567520c06..e5f88f4c4e 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -3,6 +3,7 @@
#include <assert.h>
#include <math.h>
#include <stdint.h>
+#include <inttypes.h>
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_STROKER_H
@@ -669,7 +670,8 @@ static char* parse_tag(char* p, double pwr) {
t1 = strtoll(p, &p, 10);
skip(',');
t2 = strtoll(p, &p, 10);
- mp_msg(MSGT_GLOBAL, MSGL_DBG2, "movement6: (%d, %d) -> (%d, %d), (%lld .. %lld)\n", x1, y1, x2, y2, t1, t2);
+ mp_msg(MSGT_GLOBAL, MSGL_DBG2, "movement6: (%d, %d) -> (%d, %d), (%" PRId64 " .. %" PRId64 ")\n",
+ x1, y1, x2, y2, (int64_t)t1, (int64_t)t2);
} else {
t1 = 0;
t2 = render_context.event->Duration;