On Wed, 22 Jun 2016, Luca Barbato wrote:

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

Looks correct to me, but it seems a little worrying - was this codepath never actually tested before?

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

Reply via email to