aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/libdc1394.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioexception@gmail.com>2012-01-18 13:46:37 +0400
committerMartin Storsjö <martin@martin.st>2012-01-22 01:10:03 +0200
commit58f0978581bf736ac6888fe3013f0c5ac88bfbdc (patch)
tree14d211db8f9a18f912cb18edf97506044dd485d5 /libavdevice/libdc1394.c
parentdbb06b8c0d7020d4a95ef8b2831aa58ec00145c7 (diff)
downloadffmpeg-58f0978581bf736ac6888fe3013f0c5ac88bfbdc.tar.gz
rtsp: Use a random offset for trying to open UDP ports for RTP
This avoids (for all practical cases) the issue of reusing the same UDP port as for an earlier connection. If the remote doesn't know the previous session was closed, he might keep on sending packets to that port. If we always start off trying to open the same UDP port, we might get those packets intermixed with the new ones. This is occasionally an issue when testing RTSP stuff with DSS, perhaps also with other servers. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavdevice/libdc1394.c')
0 files changed, 0 insertions, 0 deletions