OSDN Git Service

udp: Receive on the remote port number, if no local port is set
authorCan Wu <wu.canus@gmail.com>
Fri, 17 Jun 2011 05:58:01 +0000 (13:58 +0800)
committerMartin Storsjö <martin@martin.st>
Fri, 24 Jun 2011 15:27:02 +0000 (18:27 +0300)
commitfc66e231541b91b22f6e0d8257991cc5343db8d5
tree9c757a7e9d615939737af3e743a2ec78b9cc1124
parentadbfc605f6bbe87b292c82cd1f5d4d974fa6b73c
udp: Receive on the remote port number, if no local port is set

For a unicast udp stream to localhost:1234, currently
ffplay udp://:1234?localport=1234
works, but
ffplay udp://:1234
doesn't work.

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