diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-12-16 19:15:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-12-16 22:45:28 +0100 |
commit | ef59a40c2a0df694cf6f23870f94b6e32deabfe1 (patch) | |
tree | 406baf59a83ae2eefea6bf51b66552fffc5f4767 /libavformat | |
parent | 69be00aa611b6c489c56fb189a2a65b1b404337d (diff) | |
download | ffmpeg-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')
-rw-r--r-- | libavformat/url.c | 4 |
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; |