|
|
|
@@ -276,8 +276,7 @@ static void rtcp_send_sr(AVFormatContext *s1, int64_t ntp_time) |
|
|
|
avio_w8(s1->pb, RTCP_SR); |
|
|
|
avio_wb16(s1->pb, 6); /* length in words - 1 */ |
|
|
|
avio_wb32(s1->pb, s->ssrc); |
|
|
|
avio_wb32(s1->pb, ntp_time / 1000000); |
|
|
|
avio_wb32(s1->pb, ((ntp_time % 1000000) << 32) / 1000000); |
|
|
|
avio_wb64(s1->pb, NTP_TO_RTP_FORMAT(ntp_time)); |
|
|
|
avio_wb32(s1->pb, rtp_ts); |
|
|
|
avio_wb32(s1->pb, s->packet_count); |
|
|
|
avio_wb32(s1->pb, s->octet_count); |
|
|
|
|