mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 19:37:30 +01:00
10l let path behave like before the start/stop patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11664 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fe0b80deee
commit
08654689df
@ -623,9 +623,9 @@ rtsp_t *rtsp_connect(int fd, char* mrl, char *path, char *host, int port, char *
|
||||
s->mrl = strdup(mrl);
|
||||
s->host = strdup(host);
|
||||
s->port = port;
|
||||
s->path = strdup(path);
|
||||
while (*path == '/')
|
||||
path++;
|
||||
s->path = strdup(path);
|
||||
if ((s->param = strchr(s->path, '?')) != NULL)
|
||||
s->param++;
|
||||
//printf("path=%s\n", s->path);
|
||||
|
Loading…
Reference in New Issue
Block a user