rtpproto: Allow specifying a separate rtcp port in ff_rtp_set_remote_url
authorMartin Storsjö <martin@martin.st>
Wed, 31 Jul 2013 08:48:28 +0000 (11:48 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 1 Aug 2013 07:26:17 +0000 (10:26 +0300)
commitee37d5811caa8f4ad125a37fe6ce3f9e66cd72f2
tree85f1cb21259b249a4a6a3716a5cebae1ea8bc907
parent1851e1d05d06f6ef3436c667e4354da0f407b226
rtpproto: Allow specifying a separate rtcp port in ff_rtp_set_remote_url

A separate rtcp port can already be set when opening the rtp
protocol normally, but when doing port setup as in RTSP (where
we first need to open the local ports and pass them to the peer,
and only then receive the remote peer port numbers), we didn't
check the same url parameter as in the normal open routine.

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