sdp: Ignore RTCP packets when autodetecting RTP streams
authorMartin Storsjö <martin@martin.st>
Mon, 13 Feb 2012 15:05:43 +0000 (17:05 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 16 Feb 2012 15:14:35 +0000 (16:14 +0100)
commitf3a094f2da26f62f3461e78a22b115ab8a700b8d
tree5a47b1e12d774c6633dcd5284235c340772fc899
parent17b11ffec7991a9f61a0354830759644ec54f78e
sdp: Ignore RTCP packets when autodetecting RTP streams

The rtp demuxer which listens for RTP packets and detects the
RTP payload type will currently get confused if the first packet
received is an RTCP packet. Thus ignore such packets.

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