ffmpeg | branch: release/4.3 | Michael Niedermayer <mich...@niedermayer.cc> | 
Wed Dec 16 19:15:12 2020 +0100| [8f3741a5e39f492a499121f14251e94edf398717] | 
committer: Marton Balint

avformat/url: Change () position in ff_make_absolute_url()

No testcase
Reviewed-by: Nicolas George <geo...@nsup.org>
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
(cherry picked from commit ef59a40c2a0df694cf6f23870f94b6e32deabfe1)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f3741a5e39f492a499121f14251e94edf398717
---

 libavformat/url.c | 4 ++--
 1 file 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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to