This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/7.1 in repository ffmpeg.
commit 1d10281fc2e1c849b04def1e5b0ff680968ecc5b Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Feb 3 11:49:29 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Mon May 4 15:57:10 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 af2e506298..2ee4d71fb4 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -388,6 +388,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]
