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 ebd4d7189c
commit a3fd812644
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)
p = sep + 1;
else
break;
}
}
if (ctx->playpath) {