summaryrefslogtreecommitdiff
path: root/libavformat/url.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-12-16 19:15:12 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-12-16 22:45:28 +0100
commitef59a40c2a0df694cf6f23870f94b6e32deabfe1 (patch)
tree406baf59a83ae2eefea6bf51b66552fffc5f4767 /libavformat/url.c
parent69be00aa611b6c489c56fb189a2a65b1b404337d (diff)
downloadffmpeg-ef59a40c2a0df694cf6f23870f94b6e32deabfe1.tar.gz
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>
Diffstat (limited to 'libavformat/url.c')
-rw-r--r--libavformat/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/url.c b/libavformat/url.c
index 6db4b4e1ae..77d610d95f 100644
--- a/libavformat/url.c
+++ b/libavformat/url.c
@@ -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;