Use the control URI from the SDP (if present) rather than the input filename,
authorAlan Steremberg <alan.steremberg@gmail.com>
Fri, 22 Jan 2010 16:04:15 +0000 (16:04 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 22 Jan 2010 16:04:15 +0000 (16:04 +0000)
commit00eb13e05f3fe868ae33055945fad6408d1be3b4
tree359734b80dae6f526dca17e666ab2f1764b00306
parent4a88852623168077d77a073f7ce61047d12becbf
Use the control URI from the SDP (if present) rather than the input filename,
if present. This fixes playback of a number of MS-RTSP streams, mostly these
for which playback contains a session key in the URI. Fixes issue 1697.
Patch by Alan Steremberg <$firstname dot $lastname () gmail com>.

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