1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

Fix compilation without fftw3

This commit is contained in:
Thomas Goyne 2014-10-05 15:23:35 -07:00
parent bf1f2ca5c7
commit ed03cd9735

View File

@ -43,7 +43,7 @@
void FFT::DoTransform (size_t n_samples,float *input,float *output_r,float *output_i,bool inverse) {
if (!IsPowerOfTwo(n_samples))
agi::InternalError(throw "FFT requires power of two input.");
throw agi::InternalError("FFT requires power of two input.");
// Inverse transform
float angle_num = 2.0f * 3.1415926535897932384626433832795f;