mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
a77608b67a
commit
8365a97450
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue