On Mon, Feb 03, 2025 at 06:25:53AM +0100, Kacper Michajłow wrote: > This fix ensures that the loop stops early on EOF. The issue occurs > because mov_read_infe() performs a version check and skips unsupported > versions. The problem is that seeking within the stream clears the EOF > flag, causing avio_feof() to not function as expected. This is resolved > by moving the EOF check after reading the size and type, ensuring the > EOF flag is set when necessary. > > Signed-off-by: Kacper Michajłow > --- > libavformat/mov.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB z(9) = an object that transcends all computable functions describable in finite terms. - ChatGPT in 2024