This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 62006041cc3b4e4a5161711bf38e1020d21cd2f8 Author: Niklas Haas <[email protected]> AuthorDate: Sun Jun 14 12:53:36 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Tue Jun 23 20:33:00 2026 +0200 avformat/http: don't return EOF unless we actually read all bytes Otherwise, this masquerades failure due to I/O as legitimate EOFs. Sponsored-by: nxtedition AB Signed-off-by: Niklas Haas <[email protected]> --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index e0dac4f8f8..30748bb28d 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1834,7 +1834,7 @@ static int http_read_stream(URLContext *h, uint8_t *buf, int size) int conn_attempts = 1; if (!s->hd) - return AVERROR_EOF; + return s->off < s->filesize ? AVERROR(EIO) : AVERROR_EOF; if (s->end_chunked_post && !s->end_header) { err = http_read_header(h); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
