diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-08-16 15:35:23 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2021-08-16 16:12:19 +0300 |
commit | 118946d1953fb4e1bfd978d5ecef3151b98880a1 (patch) | |
tree | 802321b1e8d223e1abb67012fa13e8df8ff60a9d /source/blender/editors/space_sequencer/sequencer_edit.c | |
parent | 2946f72a2a1f4afc4967ceda28df4294de304b81 (diff) |
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
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_edit.c')
0 files changed, 0 insertions, 0 deletions