This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 7a348f662d2d19d6b0264bef277e426949627dfb Author: Niklas Haas <[email protected]> AuthorDate: Sun Feb 15 18:29:07 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Wed Mar 4 08:49:53 2026 +0000 avformat/http: close stale connection on wrong seek If http_seek_internal() gives us an unexpected position, we should close the connection to avoid leaking reading incorrect bytes on subsequent reads. --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/http.c b/libavformat/http.c index 6764e7e24a..f2f8bb5e26 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1885,6 +1885,7 @@ retry: conn_attempts++; seek_ret = http_seek_internal(h, target, SEEK_SET, 1); if (seek_ret >= 0 && seek_ret != target) { + ffurl_closep(&s->hd); av_log(h, AV_LOG_ERROR, "Failed to reconnect at %"PRIu64".\n", target); return read_ret; } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
