librtmp: Avoid an infiniloop setting connection arguments

The exit condition was missing.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
Luca Barbato 2016-06-22 06:36:31 +02:00 committed by Timothy Gu
parent be04c4aa00
commit e85d38c20a
1 changed files with 2 additions and 0 deletions

View File

@ -193,6 +193,8 @@ static int rtmp_open(URLContext *s, const char *uri, int flags)
if (sep) if (sep)
p = sep + 1; p = sep + 1;
else
break;
} }
} }
if (ctx->playpath) { if (ctx->playpath) {