Mercurial > libavformat.hg
comparison rtp.c @ 1443:404048ea11bc libavformat
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com
author | diego |
---|---|
date | Wed, 01 Nov 2006 22:39:58 +0000 |
parents | 2d8a17631520 |
children | db97355877b1 |
comparison
equal
deleted
inserted
replaced
1442:c2b748de9b35 | 1443:404048ea11bc |
---|---|
669 /* send an rtcp sender report packet */ | 669 /* send an rtcp sender report packet */ |
670 static void rtcp_send_sr(AVFormatContext *s1, int64_t ntp_time) | 670 static void rtcp_send_sr(AVFormatContext *s1, int64_t ntp_time) |
671 { | 671 { |
672 RTPDemuxContext *s = s1->priv_data; | 672 RTPDemuxContext *s = s1->priv_data; |
673 #if defined(DEBUG) | 673 #if defined(DEBUG) |
674 printf("RTCP: %02x %Lx %x\n", s->payload_type, ntp_time, s->timestamp); | 674 printf("RTCP: %02x %"PRIx64" %x\n", s->payload_type, ntp_time, s->timestamp); |
675 #endif | 675 #endif |
676 put_byte(&s1->pb, (RTP_VERSION << 6)); | 676 put_byte(&s1->pb, (RTP_VERSION << 6)); |
677 put_byte(&s1->pb, 200); | 677 put_byte(&s1->pb, 200); |
678 put_be16(&s1->pb, 6); /* length in words - 1 */ | 678 put_be16(&s1->pb, 6); /* length in words - 1 */ |
679 put_be32(&s1->pb, s->ssrc); | 679 put_be32(&s1->pb, s->ssrc); |