[MPlayer-cvslog] r19384 - in trunk/libass: ass.c ass_render.c
eugeni
subversion at mplayerhq.hu
Sun Aug 13 12:54:29 CEST 2006
Author: eugeni
Date: Sun Aug 13 12:54:29 2006
New Revision: 19384
Modified:
trunk/libass/ass.c
trunk/libass/ass_render.c
Log:
Replace %lld with PRId64, part 2.
Modified: trunk/libass/ass.c
==============================================================================
--- trunk/libass/ass.c (original)
+++ trunk/libass/ass.c Sun Aug 13 12:54:29 2006
@@ -505,7 +505,7 @@
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;
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c (original)
+++ trunk/libass/ass_render.c Sun Aug 13 12:54:29 2006
@@ -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 @@
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;
More information about the MPlayer-cvslog
mailing list