OSDN Git Service

rtpproto: Allow specifying the connect option, passed through to udp
authorMartin Storsjö <martin@martin.st>
Thu, 6 Jan 2011 15:16:09 +0000 (15:16 +0000)
committerMartin Storsjö <martin@martin.st>
Thu, 6 Jan 2011 15:16:09 +0000 (15:16 +0000)
commitbabd19ce2e38446cdabe0f648c6189c7f1dc7378
treebc380c41bb27680d395c228d433574756df74ad9
parent1ba44140a3169868eb94e62888d8d2f9861968ab
rtpproto: Allow specifying the connect option, passed through to udp

By calling connect on the UDP socket, only packets from the chosen
peer address and port are received on the socket. This is one
solution to issue 1688.

Originally committed as revision 26244 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtpproto.c