This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/6.1 in repository ffmpeg.
commit 7f01639877d782ca5aab0cc4d549d2094b566ee4 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Feb 3 11:49:29 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Mon May 4 17:13:20 2026 +0200 avformat/http: Also count redirects from the cache Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 82fbb04d07f83a405ac4476329f3557fd8790112) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/http.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index b3bdd12f6a..975e708684 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -369,6 +369,9 @@ redo: cached = redirect_cache_get(s); if (cached) { + if (redirects++ >= s->max_redirects) + return AVERROR(EIO); + av_free(s->location); s->location = av_strdup(cached); if (!s->location) { _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
