avformat/url: Change () position in ff_make_absolute_url()

No testcase
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2020-12-16 19:15:12 +01:00
parent 69be00aa61
commit ef59a40c2a
1 changed files with 2 additions and 2 deletions

View File

@ -211,8 +211,8 @@ int ff_make_absolute_url(char *buf, int size, const char *base,
if (!base)
base = "";
if ((ret = ff_url_decompose(&ub, base, NULL) < 0) ||
(ret = ff_url_decompose(&uc, rel, NULL) < 0))
if ((ret = ff_url_decompose(&ub, base, NULL)) < 0 ||
(ret = ff_url_decompose(&uc, rel, NULL)) < 0)
goto error;
keep = ub.url;