Use the caller's RTSPMessageHeader in rtsp_setup_input_streams
authorMartin Storsjö <martin@martin.st>
Mon, 22 Mar 2010 14:42:52 +0000 (14:42 +0000)
committerMartin Storsjö <martin@martin.st>
Mon, 22 Mar 2010 14:42:52 +0000 (14:42 +0000)
commit6e69f6c47f844f6991afb0275a56b1c18663b162
tree3d5749ea89dc964eec247494a4c9a568270373a2
parent0e22d68834ad260c599bd53e7f155864873a3310
Use the caller's RTSPMessageHeader in rtsp_setup_input_streams

Currently, the caller doesn't get the status_code and location for rediects,
since rtsp_setup_input_streams uses a copy of RTSPMessageHeader of its own.

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