[FFmpeg-cvslog] librtmp: Avoid an infiniloop setting connection arguments
Luca Barbato
git at videolan.org
Fri Oct 7 14:20:10 EEST 2016
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Wed Jun 22 06:36:31 2016 +0200| [4dbfcd07570a9e45e9597561023adb6da26f27f6] | committer: Luca Barbato
librtmp: Avoid an infiniloop setting connection arguments
The exit condition was missing.
CC: libav-stable at libav.org
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4dbfcd07570a9e45e9597561023adb6da26f27f6
---
libavformat/librtmp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index 2e5e641..97c8ad6 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) {
More information about the ffmpeg-cvslog
mailing list