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:
parent
ca55240b8c
commit
8f3741a5e3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user