Commit 3a08231da3 for ffmpeg
commit 3a08231da388207a5e70e2a986c070508efabbde
Author: Kacper Michajłow <kasper93@gmail.com>
Date: Sun Oct 4 17:26:15 2026 +0200
avformat/libcurl: remove LLM discussion log comment
Code comments are not meant to narrate what the code did "once upon a
time". Furthermore, the macro is trivial and doesn't need explaining.
Fixes: 6793a8d4d36354770bec465c5bba1bb12c5cdb90
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
diff --git a/libavformat/libcurl.c b/libavformat/libcurl.c
index 73d60c66a4..80c1f7a9fa 100644
--- a/libavformat/libcurl.c
+++ b/libavformat/libcurl.c
@@ -1209,9 +1209,6 @@ static int setup_protocols(CurlContext *c)
return ret;
}
-/* A failed setopt used to be ignored, so an unsupported option such as
- * -http_version 3 on a libcurl built without HTTP/3 was silently dropped and
- * the request went out with curl's default version. */
#define CURL_SETOPT(opt, val) \
do { \
int ret_ = curl_setopt_checked(c, #opt, \