aboutsummaryrefslogtreecommitdiffstats
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:58 -0700
commit8887dafda12cb19a5d1b0b98a522c6c6c45eef2d (patch)
treec898b138671f50740dfc4f803d1fceabc2b2f492
parente9b7ae08d6216997b644ade83d46a48732359bf9 (diff)
downloadffmpeg-8887dafda12cb19a5d1b0b98a522c6c6c45eef2d.tar.gz
librtmp: Avoid an infiniloop setting connection arguments
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 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) {