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:
parent
69be00aa61
commit
ef59a40c2a
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue