librtmp: Avoid an infiniloop setting connection arguments
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 22 Jun 2016 04:36:31 +0000 (06:36 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 22 Jun 2016 04:37:33 +0000 (06:37 +0200)
The exit condition was missing.

CC: libav-stable@libav.org
libavformat/librtmp.c

index 2e5e641..97c8ad6 100644 (file)
@@ -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) {