The exit condition was missing.

CC: [email protected]
---
 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) {
-- 
2.6.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to