Module: libav
Branch: release/11
Commit: 2c0dfc203c5067878999ae4c7b9ecdfa322eccf0

Author:    Luca Barbato <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Wed Jun 22 06:36:31 2016 +0200

librtmp: Avoid an infiniloop setting connection arguments

The exit condition was missing.

CC: [email protected]
(cherry picked from commit 4dbfcd07570a9e45e9597561023adb6da26f27f6)
Signed-off-by: Luca Barbato <[email protected]>

---

 libavformat/librtmp.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index fac3a35..a7e19ac 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) {

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

Reply via email to