diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-06-22 06:36:31 +0200 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2016-07-26 12:07:55 -0700 |
commit | b62191f9c1892d922811931fddbb5d81eeac857e (patch) | |
tree | 587dddf9c4f60adb98b69c72ad966d6860f6d726 | |
parent | 21c36d83f8507a051babaaabd69c15a4ac64e676 (diff) | |
download | android_external_ffmpeg-b62191f9c1892d922811931fddbb5d81eeac857e.tar.gz android_external_ffmpeg-b62191f9c1892d922811931fddbb5d81eeac857e.tar.bz2 android_external_ffmpeg-b62191f9c1892d922811931fddbb5d81eeac857e.zip |
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.c | 2 |
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) { |