diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-06-22 06:36:31 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-06-22 06:37:33 +0200 |
commit | 4dbfcd07570a9e45e9597561023adb6da26f27f6 (patch) | |
tree | 0b4375cb70efc92dee091e42f8e326c1cdcb1b5d | |
parent | fe498ef5144d3712b887f44a0c5e654add99ead7 (diff) | |
download | ffmpeg-4dbfcd07570a9e45e9597561023adb6da26f27f6.tar.gz |
librtmp: Avoid an infiniloop setting connection arguments
The exit condition was missing.
CC: libav-stable@libav.org
-rw-r--r-- | libavformat/librtmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c index 2e5e641c7b..97c8ad61bc 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) { |