[xiph-commits] r12070 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Thu Nov 9 14:13:38 PST 2006


Author: jm
Date: 2006-11-09 14:13:35 -0800 (Thu, 09 Nov 2006)
New Revision: 12070

Modified:
   trunk/speex/libspeex/kiss_fftr.c
Log:
shouldn't call exit().


Modified: trunk/speex/libspeex/kiss_fftr.c
===================================================================
--- trunk/speex/libspeex/kiss_fftr.c	2006-11-09 17:23:54 UTC (rev 12069)
+++ trunk/speex/libspeex/kiss_fftr.c	2006-11-09 22:13:35 UTC (rev 12070)
@@ -138,8 +138,7 @@
     int k, ncfft;
 
     if (st->substate->inverse == 0) {
-        speex_warning ("kiss fft usage error: improper alloc\n");
-        exit (1);
+        speex_error ("kiss fft usage error: improper alloc\n");
     }
 
     ncfft = st->substate->nfft;



More information about the commits mailing list