Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-12-16 21:15:12 +0300
committerMarton Balint <cus@passwd.hu>2020-12-31 01:45:03 +0300
commit8f3741a5e39f492a499121f14251e94edf398717 (patch)
tree995db8e8a9cf1b8c835b0b06fddd0d5362079dd7
parentca55240b8c1fd4cfdb61f88fd2cb378d475d910a (diff)
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)
-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;