diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-07-17 13:27:46 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-07-21 23:03:10 +0200 |
commit | 4cc843facdc8cd922c423a09c5fff911137e4b4c (patch) | |
tree | bf9823f17c0b36a4ef65b202e0c984fad4aa4bcc /libavformat/rtpdec.c | |
parent | be7bd626c4832c4bc5295a01bfd68156ac78ccba (diff) | |
download | ffmpeg-4cc843facdc8cd922c423a09c5fff911137e4b4c.tar.gz |
rtp: remove disabled code
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r-- | libavformat/rtpdec.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 2c262d9bd3..37122600a5 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -218,22 +218,6 @@ static int rtp_valid_packet_in_sequence(RTPStatistics *s, uint16_t seq) return 1; } -#if 0 -/** -* This function is currently unused; without a valid local ntp time, I don't see how we could calculate the -* difference between the arrival and sent timestamp. As a result, the jitter and transit statistics values -* never change. I left this in in case someone else can see a way. (rdm) -*/ -static void rtcp_update_jitter(RTPStatistics *s, uint32_t sent_timestamp, uint32_t arrival_timestamp) -{ - uint32_t transit= arrival_timestamp - sent_timestamp; - int d; - s->transit= transit; - d= FFABS(transit - s->transit); - s->jitter += d - ((s->jitter + 8)>>4); -} -#endif - int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count) { AVIOContext *pb; |