[FFmpeg-cvslog] librtmp: Avoid an infiniloop setting connection arguments
Luca Barbato
git at videolan.org
Tue Jul 26 22:09:03 EEST 2016
ffmpeg | branch: release/2.8 | Luca Barbato <lu_zero at gentoo.org> | Wed Jun 22 06:36:31 2016 +0200| [8887dafda12cb19a5d1b0b98a522c6c6c45eef2d] | committer: Timothy Gu
librtmp: Avoid an infiniloop setting connection arguments
The exit condition was missing.
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
(cherry picked from commit e85d38c20a8893cb59d7c86f74481f2497882196)
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8887dafda12cb19a5d1b0b98a522c6c6c45eef2d
---
libavformat/librtmp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index bfa9a71..5a138ad 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) {
More information about the ffmpeg-cvslog
mailing list