Blender Git Commit Log

Git Commits -> Revision 118946d

Revision 118946d by Richard Antalik (master)
August 16, 2021, 13:12 (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: 118946d1953fb4e1bfd978d5ecef3151b98880a1
Parent Commit: 2946f72
Committed By: Sebastian Parborg
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