aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtmpproto.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-01-01 17:21:32 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-01-01 17:21:32 +0100
commit99f2a563889285b8be3e87fb5c5ba8c86a104785 (patch)
treec02b06f6c841c8ff5af06525eab13fc15ebbc743 /libavformat/rtmpproto.c
parenta240aefc7a2591f7b307e2910df655801ae6ca44 (diff)
parent64f8c439fd663fec4d57ac21af572d498fe21f7a (diff)
downloadffmpeg-99f2a563889285b8be3e87fb5c5ba8c86a104785.tar.gz
Merge commit '64f8c439fd663fec4d57ac21af572d498fe21f7a'
* commit '64f8c439fd663fec4d57ac21af572d498fe21f7a': rtmpproto: Include the full path as app when "slist=" is found Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r--libavformat/rtmpproto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index f0c1422ccf..bd1c38a161 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -2681,8 +2681,8 @@ reconnect:
qmark = strchr(path, '?');
if (qmark && strstr(qmark, "slist=")) {
char* amp;
- // After slist we have the playpath, before the params, the app
- av_strlcpy(rt->app, path + 1, FFMIN(qmark - path, APP_MAX_LENGTH));
+ // After slist we have the playpath, the full path is used as app
+ av_strlcpy(rt->app, path + 1, APP_MAX_LENGTH);
fname = strstr(path, "slist=") + 6;
// Strip any further query parameters from fname
amp = strchr(fname, '&');