rtpdec: Send a valid "delay since SR" value in the RTCP RR packets
authorMartin Storsjö <martin@martin.st>
Wed, 9 Jan 2013 16:56:17 +0000 (18:56 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 12 Jan 2013 17:55:49 +0000 (19:55 +0200)
commit22c436c85e0dd81702b4e9289b90755b7310982f
treeb27243a7c15a7b44b473201743feb23ec6ce4916
parente568db40258d549777ac1c16971678e18a18f5f5
rtpdec: Send a valid "delay since SR" value in the RTCP RR packets

Previously, we always signalled a zero time since the last RTCP
SR, which is dubious.

The code also suggested that this would be the difference in
RTP NTP time units (32.32 fixed point), while it actually is
in in 1/65536 second units. (RFC 3550 section 6.4.1)

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec.c
libavformat/rtpdec.h