mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
@ -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…
Reference in New Issue
Block a user