Blender Git Loki

Git Commits -> Revision e97a2c2

August 23, 2021, 09:54 (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: e97a2c228ef546ec96c10d93b94063cba06ca0b8
Parent Commit: c634d85
Committed By: Jeroen Bakker
Lines Changed: +7, -6

1 Modified Path:

/source/blender/imbuf/intern/anim_movie.c (+7, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021