rtpdec: Read the packet length for all RTCP packet types
authorJohn Brooks <john.brooks@bluecherry.net>
Wed, 12 Oct 2011 06:53:12 +0000 (00:53 -0600)
committerMartin Storsjö <martin@martin.st>
Wed, 12 Oct 2011 11:37:42 +0000 (14:37 +0300)
commit07b77fe3871f86b87e35876d38f1969da5ece4b2
tree245e7591e0fbf1e829b083cc1e4b58d8da8edac7
parent5d6ecf5345c0913e2b66427ea062e7989201a139
rtpdec: Read the packet length for all RTCP packet types

This allows skipping past unsupported RTCP packet types, as
RFC 3550 section 6.1 mandates.

Currently this only has any practical effect if a sender puts
an unrecognized type before RTCP_BYE in a compounded packet, or
(incorrectly) does not put RTCP_SR first.

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