diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2019-11-21 12:01:01 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2019-11-21 12:01:12 +0300 |
commit | 122ba774e024bca0819bbaa56cdfa3c47dd49f0a (patch) | |
tree | ed732ba5ca3eeee6dadf4ae947e6ab1fda75b695 /source/blender/editors/include/ED_keyframes_edit.h | |
parent | ba1e9ae4733ae956331c7e8899f6939997205298 (diff) |
Fix T71621: VSE crashes when playing last frame of audio
Due to some floating point errors the last frame of a VSE audio strip can
cause integer overflow and crash Blender. This overflow was caused by a
cast from `int64_t` to `int` without prior check. The crash is fixed by
keeping the variable as `int64_t` for as long as possible.
Diffstat (limited to 'source/blender/editors/include/ED_keyframes_edit.h')
0 files changed, 0 insertions, 0 deletions