diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-04 20:15:15 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-04 20:15:15 +0300 |
commit | 9f681bea68fc1aebc41d43d5bd3b5e73c91f6f45 (patch) | |
tree | 4637b37b77685da00aa98ee029410f03033c22b2 /source/blender/editors/space_sequencer/sequencer_draw.c | |
parent | 773691310f9479a7de9b01f13fbbdc5d45c1c47e (diff) |
Fix T64144: Crash when displaying audio waveforms in VSE
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_draw.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index a3b02407a9e..72f186d4c1a 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -259,11 +259,6 @@ static void drawseqwave(View2D *v2d, return; } - if (!sound->spinlock) { - sound->spinlock = MEM_mallocN(sizeof(SpinLock), "sound_spinlock"); - BLI_spin_init(sound->spinlock); - } - BLI_spin_lock(sound->spinlock); if (!sound->waveform) { if (!(sound->tags & SOUND_TAGS_WAVEFORM_LOADING)) { |