This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 82fbb04d07f83a405ac4476329f3557fd8790112 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Feb 3 11:49:29 2026 +0100 Commit: michaelni <[email protected]> CommitDate: Tue Feb 17 13:43:37 2026 +0000 avformat/http: Also count redirects from the cache 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 1a2b260bbd..70b7ec038c 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -412,6 +412,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]
