1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

rtpdec: make the NTP time values unsigned.

As per RFC3550, section 4, the NTP time is provided as 64-bit unsigned
integer, so follow the same logic here.

Reviewed-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Diego Elio 'Flameeyes' Pettenò 2010-07-14 09:51:10 +02:00 committed by Michael Niedermayer
parent bc47801968
commit a7b554f863

View File

@ -173,9 +173,9 @@ struct RTPDemuxContext {
/*@}*/ /*@}*/
/* rtcp sender statistics receive */ /* rtcp sender statistics receive */
int64_t last_rtcp_ntp_time; uint64_t last_rtcp_ntp_time;
int64_t last_rtcp_reception_time; int64_t last_rtcp_reception_time;
int64_t first_rtcp_ntp_time; uint64_t first_rtcp_ntp_time;
uint32_t last_rtcp_timestamp; uint32_t last_rtcp_timestamp;
int64_t rtcp_ts_offset; int64_t rtcp_ts_offset;