diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2018-08-20 18:50:20 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2018-08-21 02:06:22 +0700 |
commit | ec68822cd7cea75de4bbf44fce9bf83ae5e89612 (patch) | |
tree | 8de08d58423b120ed28709eab414972c06fb9ae0 /servers | |
parent | c1bd768ca2d5fcd7c505b1af5e4de753799a3476 (diff) |
Fix crash while importing corrupted wav
Line 199 does division with 'bits per sample' but the check for
0 is missing.
Diffstat (limited to 'servers')
-rw-r--r-- | servers/audio/effects/audio_effect_record.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/audio/effects/audio_effect_record.cpp b/servers/audio/effects/audio_effect_record.cpp index 74a6838d1a..78ba658ed8 100644 --- a/servers/audio/effects/audio_effect_record.cpp +++ b/servers/audio/effects/audio_effect_record.cpp @@ -233,7 +233,7 @@ Ref<AudioStreamSample> AudioEffectRecord::get_recording() const { w[i * 2 + 1] = rr[i]; } } else { - ERR_EXPLAIN("format not implemented"); + ERR_PRINT("Format not implemented."); } Ref<AudioStreamSample> sample; |