diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c index 67939b912e..8c7345f0c8 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) {