This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit b77de7cb6f29e37b78db4fced0afb70602aaf880 Author: Kacper Michajłow <[email protected]> AuthorDate: Fri Oct 2 03:48:21 2026 +0200 Commit: Kacper Michajłow <[email protected]> CommitDate: Mon Oct 12 22:42:25 2026 +0200 avformat/http: clear the end of a chunked reply for every request Clear the end of the chunked encoding for every request, so that a chunked reply after a seek or a reconnect is read when an earlier chunked reply has ended, and restore it with the rest of the old reply when a seek fails. Signed-off-by: Kacper Michajłow <[email protected]> --- libavformat/http.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index 4f529cf8ff..95a4f40ac3 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1836,6 +1836,7 @@ static int http_connect(URLContext *h, const char *path, const char *local_path, s->line_count = 0; s->off = 0; s->icy_data_read = 0; + s->chunkend = 0; s->filesize = UINT64_MAX; s->range_end = 0; s->willclose = !keep_alive; @@ -2283,6 +2284,7 @@ static int64_t http_seek_internal(URLContext *h, int64_t off, int whence, int fo uint64_t old_off = s->off; uint64_t old_range_end = s->range_end; uint64_t old_chunksize = s->chunksize; + int old_chunkend = s->chunkend; int old_willclose = s->willclose; #if CONFIG_ZLIB int old_compressed = s->compressed; @@ -2384,6 +2386,7 @@ static int64_t http_seek_internal(URLContext *h, int64_t off, int whence, int fo s->hd = old_hd; s->range_end = old_range_end; s->chunksize = old_chunksize; + s->chunkend = old_chunkend; s->willclose = old_willclose; #if CONFIG_ZLIB s->compressed = old_compressed; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
