Files
Tiago CarrondoandClaude Opus 5.5 c39dcd5bcd fix(files_external): reset EOF when seeking in SFTPReadStream
Once a read reached the end of the remote file, the eof flag stayed set
after a seek, and every later read returned an empty string. The movie
preview reads the moov atom at the end of a video and then copies the
file from the start, so the sparse file was all zeros and ffmpeg failed.

Fixes #66001

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tiago Carrondo <tiago@carrondo.pt>
2026-11-03 00:45:54 +00:00
..