shithub: opus

Download patch

ref: 2f5ccf60b11de248942cd0ac535d3b8e55f5898b
parent: 7a455d4ef5e07007b524dfc0e79ae64befffb103
author: Jean-Marc Valin <[email protected]>
date: Wed Feb 27 02:48:48 EST 2008

C90-fying ectest

--- a/tests/ectest.c
+++ b/tests/ectest.c
@@ -10,6 +10,10 @@
 #include "entenc.h"
 #include "entdec.h"
 
+#ifndef M_LOG2E
+# define M_LOG2E    1.4426950408889634074
+#endif
+
 int main(int _argc,char **_argv){
   ec_byte_buffer buf;
   ec_enc         enc;
@@ -22,7 +26,6 @@
   int            ftb;
   int            sym;
   int            sz;
-  int            s;
   int            i;
   int            ret;
   ret=0;