Merged revisions 53429 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 7 Feb 2007 17:46:42 +0000 (17:46 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 7 Feb 2007 17:46:42 +0000 (17:46 +0000)
commitdfb5ef7f55e974b7ffba297df371375eaeeaf82d
tree34d0f51686be46b950b45d9dd419879be8090299
parent8513682d15870e5f3d4a97f348dcb2e28564903d
Merged revisions 53429 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53429 | russell | 2007-02-07 11:39:31 -0600 (Wed, 07 Feb 2007) | 7 lines

When parsing the NTP timestamp in a sender report message, you are supposed to
take the low 16 bits of the integer part, and the high 16 bits of the
fractional part.  However, the code here was erroneously taking the low 16 bits
of the fractional part.  It then shifted the result 16 bits down, so the result
was always zero.  This fix makes it grab the appropriate high 16 bits, instead.
(issue #8991, pointed out by andre_abrantes)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/rtp.c