Merge pull request #21220 from Noshyaar/import-crash

Fix crash while importing corrupt wav
This commit is contained in:
Rémi Verschelde
2018-08-21 00:10:06 +02:00
committed by GitHub
2 changed files with 15 additions and 11 deletions

View File

@ -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;