[MPlayer-cvslog] r27233 - trunk/libmpdemux/mpeg_packetizer.c

diego subversion at mplayerhq.hu
Tue Jul 8 10:17:50 CEST 2008


Author: diego
Date: Tue Jul  8 10:17:50 2008
New Revision: 27233

Log:
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'


Modified:
   trunk/libmpdemux/mpeg_packetizer.c

Modified: trunk/libmpdemux/mpeg_packetizer.c
==============================================================================
--- trunk/libmpdemux/mpeg_packetizer.c	(original)
+++ trunk/libmpdemux/mpeg_packetizer.c	Tue Jul  8 10:17:50 2008
@@ -58,7 +58,7 @@ send_mpeg_pes_packet_ll(unsigned char *d
   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 */



More information about the MPlayer-cvslog mailing list