diff options
Diffstat (limited to 'tools/udp_pes_scheduler.c')
-rw-r--r-- | tools/udp_pes_scheduler.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/udp_pes_scheduler.c b/tools/udp_pes_scheduler.c index 5da4be74..61e37467 100644 --- a/tools/udp_pes_scheduler.c +++ b/tools/udp_pes_scheduler.c @@ -4,10 +4,13 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: udp_pes_scheduler.c,v 1.1 2006-06-03 10:04:28 phintuka Exp $ + * $Id: udp_pes_scheduler.c,v 1.2 2006-06-04 11:00:04 phintuka Exp $ * */ +#define __STDC_FORMAT_MACROS +#include <inttypes.h> + #include <stdint.h> #include <sys/types.h> #include <sys/socket.h> @@ -587,7 +590,7 @@ void cUdpScheduler::ReSend(int fd, uint64_t Pos, int Seq1, int Seq2) ((stream_udp_header_t *)udp_ctrl)->seq); #endif sprintf((udp_ctrl+sizeof(stream_udp_header_t)), - "UDP MISSING %d-%d %lld", + "UDP MISSING %d-%d %" PRIu64, Seq1, Seq1, Pos); send(fd, udp_ctrl, 64, 0); |