librtmp: Avoid an infiniloop setting connection arguments

The exit condition was missing.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
(cherry picked from commit e85d38c20a)
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 5141a0ceaf
commit 52a9f668ee
1 changed files with 2 additions and 0 deletions

View File

@ -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) {