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>
(cherry picked from commit ef59a40c2a0df694cf6f23870f94b6e32deabfe1)
This commit is contained in:
Michael Niedermayer 2020-12-16 19:15:12 +01:00 committed by Marton Balint
parent ca55240b8c
commit 8f3741a5e3

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;