librtmp: Avoid an infiniloop setting connection arguments release/2.7
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 22 Jun 2016 04:36:31 +0000 (06:36 +0200)
committerTimothy Gu <timothygu99@gmail.com>
Tue, 26 Jul 2016 19:08:47 +0000 (12:08 -0700)
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>
libavformat/librtmp.c

index bfa9a71..5a138ad 100644 (file)
@@ -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) {