diff options
author | Martin Storsjö <martin@martin.st> | 2010-10-08 08:42:30 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-10-08 08:42:30 +0000 |
commit | 6766a354f7a263241619428a43a92cdc40132086 (patch) | |
tree | 918214d05eed16755e23adb8c49282fe3888abad /libavcodec/eatgq.c | |
parent | b7952ed184554e2200ac80979858b89d6f17412a (diff) | |
download | ffmpeg-6766a354f7a263241619428a43a92cdc40132086.tar.gz |
udp: Add an option for connecting the udp socket
This allows us to find out the local sending address via getsockname,
otherwise we just get INADDR_ANY (or similar for v6).
This also makes writes return ECONNREFUSED if nobody is listening on the
receiving port.
Originally committed as revision 25405 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eatgq.c')
0 files changed, 0 insertions, 0 deletions