This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8712114200820ca5280ef73240d5ba860fab4a13 Author: Niklas Haas <[email protected]> AuthorDate: Sun Jun 14 12:27:58 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Tue Jun 23 20:33:00 2026 +0200 avformat/http: properly re-set s->range_end before requests Otherwise this could leak stale values from a previous response. Sponsored-by: nxtedition AB Signed-off-by: Niklas Haas <[email protected]> --- libavformat/http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index e0cf9e7424..a0d84e5b09 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -567,6 +567,7 @@ int ff_http_do_new_request2(URLContext *h, const char *uri, AVDictionary **opts) s->end_chunked_post = 0; s->chunkend = 0; + s->range_end = 0; s->off = 0; s->icy_data_read = 0; @@ -1663,6 +1664,7 @@ static int http_connect(URLContext *h, const char *path, const char *local_path, s->off = 0; s->icy_data_read = 0; s->filesize = UINT64_MAX; + s->range_end = 0; s->willclose = 0; s->end_chunked_post = 0; s->end_header = 0; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
