Mercurial > mplayer.hg
comparison libmpdemux/realrtsp/rtsp.c @ 11663:d700a93ab34c
10l let path behave like before the start/stop patch
author | rtognimp |
---|---|
date | Fri, 19 Dec 2003 22:49:29 +0000 |
parents | fff1b6f1a9cc |
children | 4adb4a3b52a2 |
comparison
equal
deleted
inserted
replaced
11662:173f22eb0505 | 11663:d700a93ab34c |
---|---|
621 s->user_agent=strdup("User-Agent: RealMedia Player Version 6.0.9.1235 (linux-2.0-libc6-i386-gcc2.95)"); | 621 s->user_agent=strdup("User-Agent: RealMedia Player Version 6.0.9.1235 (linux-2.0-libc6-i386-gcc2.95)"); |
622 | 622 |
623 s->mrl = strdup(mrl); | 623 s->mrl = strdup(mrl); |
624 s->host = strdup(host); | 624 s->host = strdup(host); |
625 s->port = port; | 625 s->port = port; |
626 s->path = strdup(path); | |
626 while (*path == '/') | 627 while (*path == '/') |
627 path++; | 628 path++; |
628 s->path = strdup(path); | |
629 if ((s->param = strchr(s->path, '?')) != NULL) | 629 if ((s->param = strchr(s->path, '?')) != NULL) |
630 s->param++; | 630 s->param++; |
631 //printf("path=%s\n", s->path); | 631 //printf("path=%s\n", s->path); |
632 //printf("param=%s\n", s->param ? s->param : "NULL"); | 632 //printf("param=%s\n", s->param ? s->param : "NULL"); |
633 s->s = fd; | 633 s->s = fd; |