aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-08 08:17:50 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-08 08:17:50 +0000
commit8365a97450533b04b87a89f8ab251be8d2c714b9 (patch)
treef07e65e2092de41475e668cb6e7a04678c62858a
parenta77608b67a00f2e584c5e08da13c81c9e7027f18 (diff)
Use correct PRIu64 length modifier for uint64_t value, fixes the warning:
libmpdemux/mpeg_packetizer.c:61: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'uint64_t' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27233 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/mpeg_packetizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/mpeg_packetizer.c b/libmpdemux/mpeg_packetizer.c
index 72f2fdb188..0b4c2437e5 100644
--- a/libmpdemux/mpeg_packetizer.c
+++ b/libmpdemux/mpeg_packetizer.c
@@ -58,7 +58,7 @@ send_mpeg_pes_packet_ll(unsigned char *data, int len, int id, uint64_t pts,
unsigned char pes_header[PES_MAX_SIZE];
mp_msg (MSGT_HEADER, MSGL_DBG2,
- "MPEG%d PES packet: 0x%x => %lu \n", type, id, pts);
+ "MPEG%d PES packet: 0x%x => %"PRIu64" \n", type, id, pts);
memset (pes_header, '\0', PES_MAX_SIZE);
/* startcode */