rtsp: Parse and use the Content-Base reply header, if present

This fixes playing RTSP urls with query parameters.

Originally committed as revision 25755 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Martin Storsjö
2010-11-15 15:08:53 +00:00
parent f3d77632d7
commit dd22cfb101
3 changed files with 10 additions and 0 deletions
+4
View File
@@ -165,6 +165,10 @@ typedef struct RTSPMessageHeader {
* returned
*/
char reason[256];
/** The "Content-Base:" field.
*/
char content_base[4096];
} RTSPMessageHeader;
/**