Blender Git Commit Log

Git Commits -> Revision 85a5393

Revision 85a5393 by Richard Antalik (temp-VSE-fixes)
August 16, 2021, 12:35 (GMT)
Fix T87967: M2T video seeking is broken

Bug caused by integer overflow in ffmpeg_generic_seek_workaround().
Function max_ii() was used to limit int_64tvalue.

After fixing the issue there was another issue, where near-infinite loop
was caused by requested_pos being very large and stream being cut in a
way, that it was missing keyframe at beginning.
This was fixed by checking if we are reading beyond file content.

Reviewed By: zeddb

Differential Revision: https://developer.blender.org/D11888

Commit Details:

Full Hash: 85a53939a9e3f794b4ecee3810fc973f042c43b7
Parent Commit: 525e8f0
Lines Changed: +7, -6

1 Modified Path:

/source/blender/imbuf/intern/anim_movie.c (+7, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021