diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c index 2e5e641c7b..97c8ad61bc 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) {