summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2016-06-22 06:36:31 +0200
committerTimothy Gu <timothygu99@gmail.com>2016-07-26 12:08:15 -0700
commit52a9f668eed6aec35804e362671ba4352a441c3c (patch)
treeb1cc34d3ed27948e18130fce3a087b2ef8b5c9d5
parent5141a0ceafd34a68723da1940a410cfacf116110 (diff)
downloadffmpeg-release/2.5.tar.gz
librtmp: Avoid an infiniloop setting connection argumentsrelease/2.5
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index 67939b912e..8c7345f0c8 100644
--- a/libavformat/librtmp.c
+++ b/libavformat/librtmp.c
@@ -189,6 +189,8 @@ static int rtmp_open(URLContext *s, const char *uri, int flags)
if (sep)
p = sep + 1;
+ else
+ break;
}
}
if (ctx->playpath) {