summaryrefslogtreecommitdiff
path: root/libavformat/librtmp.c
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:05:29 -0700
commite85d38c20a8893cb59d7c86f74481f2497882196 (patch)
treeffc5efb424cc6fb838b9147a1ae46923b041c734 /libavformat/librtmp.c
parentbe04c4aa0029bef68503c26428af7074befedda9 (diff)
downloadffmpeg-e85d38c20a8893cb59d7c86f74481f2497882196.tar.gz
librtmp: Avoid an infiniloop setting connection arguments
The exit condition was missing. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'libavformat/librtmp.c')
-rw-r--r--libavformat/librtmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index 0fea675b38..146df660ac 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) {