mirror of
https://github.com/nextcloud/server.git
synced 2026-11-26 16:15:53 +01:00
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>