diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-06-22 06:36:31 +0200 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2016-07-26 12:08:47 -0700 |
commit | 2b6bc8e340ac214971aace12483f4ed460afd36c (patch) | |
tree | 1a60a79147d885c0300b4311d118c241a0b1a629 | |
parent | 470bdd397f2a8fcc4ea968dcf017d9d5f91f296a (diff) | |
download | ffmpeg-2b6bc8e340ac214971aace12483f4ed460afd36c.tar.gz |
librtmp: Avoid an infiniloop setting connection argumentsrelease/2.7
The exit condition was missing.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
(cherry picked from commit e85d38c20a8893cb59d7c86f74481f2497882196)
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r-- | libavformat/librtmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c index bfa9a718f1..5a138adad4 100644 --- a/libavformat/librtmp.c +++ b/libavformat/librtmp.c @@ -193,6 +193,8 @@ static int rtmp_open(URLContext *s, const char *uri, int flags) if (sep) p = sep + 1; + else + break; } } if (ctx->playpath) { |