changeset 30620:d6f2e0515ad3

Print all 64 bits of seek position.
author reimar
date Sat, 20 Feb 2010 11:21:51 +0000
parents 2fa6d8411b07
children 300fd6ee0f8b
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Sat Feb 20 11:13:01 2010 +0000
+++ b/libmpdemux/demux_lavf.c	Sat Feb 20 11:21:51 2010 +0000
@@ -96,7 +96,7 @@
 static int64_t mp_seek(void *opaque, int64_t pos, int whence) {
     stream_t *stream = opaque;
     int64_t current_pos;
-    mp_msg(MSGT_HEADER,MSGL_DBG2,"mp_seek(%p, %d, %d)\n", stream, (int)pos, whence);
+    mp_msg(MSGT_HEADER,MSGL_DBG2,"mp_seek(%p, %"PRId64", %d)\n", stream, pos, whence);
     if(whence == SEEK_CUR)
         pos +=stream_tell(stream);
     else if(whence == SEEK_END && stream->end_pos > 0)