mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
Merge commit '64f8c439fd663fec4d57ac21af572d498fe21f7a'
* commit '64f8c439fd663fec4d57ac21af572d498fe21f7a': rtmpproto: Include the full path as app when "slist=" is found Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
99f2a56388
@ -2681,8 +2681,8 @@ reconnect:
|
|||||||
qmark = strchr(path, '?');
|
qmark = strchr(path, '?');
|
||||||
if (qmark && strstr(qmark, "slist=")) {
|
if (qmark && strstr(qmark, "slist=")) {
|
||||||
char* amp;
|
char* amp;
|
||||||
// After slist we have the playpath, before the params, the app
|
// After slist we have the playpath, the full path is used as app
|
||||||
av_strlcpy(rt->app, path + 1, FFMIN(qmark - path, APP_MAX_LENGTH));
|
av_strlcpy(rt->app, path + 1, APP_MAX_LENGTH);
|
||||||
fname = strstr(path, "slist=") + 6;
|
fname = strstr(path, "slist=") + 6;
|
||||||
// Strip any further query parameters from fname
|
// Strip any further query parameters from fname
|
||||||
amp = strchr(fname, '&');
|
amp = strchr(fname, '&');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user