Don't use tcp_fd if we're not using TCP-based connections (e.g. when
authorJeremy Morton <ffmpeg@game-point.net>
Tue, 26 Jan 2010 15:51:54 +0000 (15:51 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 26 Jan 2010 15:51:54 +0000 (15:51 +0000)
commit27000636556d8fb81a57e9eae71c79637959ced6
treeb66514f518a579d8b6678cdd3b12c3503634390f
parent6548c939ec6f0e385bbaac4d86ed2d9906744839
Don't use tcp_fd if we're not using TCP-based connections (e.g. when
reading direct SDP files to set up UDP-based RTP-streams). Fixes
issue 1713. Patch by Jeremy Morton <ffmpeg game-point net>.

Originally committed as revision 21461 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtsp.c