diff options
author | Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2010-07-14 09:51:10 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-09 15:10:57 +0200 |
commit | a7b554f8639907510c31685244e91f082be26e6d (patch) | |
tree | ca60d3f40f5e54839d36db47cef647999211822c /libavformat/rtpdec.h | |
parent | bc47801968fc20369e5794e5d403faf23a98d190 (diff) | |
download | ffmpeg-a7b554f8639907510c31685244e91f082be26e6d.tar.gz |
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>
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r-- | libavformat/rtpdec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 9321066ba7..7e356c048d 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -173,9 +173,9 @@ struct RTPDemuxContext { /*@}*/ /* rtcp sender statistics receive */ - int64_t last_rtcp_ntp_time; + uint64_t last_rtcp_ntp_time; int64_t last_rtcp_reception_time; - int64_t first_rtcp_ntp_time; + uint64_t first_rtcp_ntp_time; uint32_t last_rtcp_timestamp; int64_t rtcp_ts_offset; |