Stupid error in prototype leading to corrupted wav header.
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Wed, 28 Sep 2005 02:17:27 +0000 (02:17 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Wed, 28 Sep 2005 02:17:27 +0000 (02:17 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@10082 0101bb08-14d6-0310-b084-bc0e0c8e3800

src/wav_io.h

index f12828e..398120a 100644 (file)
 #define WAV_IO_H
 
 #include <stdio.h>
+#include "speex/speex_types.h"
 
 unsigned short be_short(unsigned short s);
 unsigned short le_short(unsigned short s);
-unsigned short le_int(unsigned int s);
+spx_uint32_t le_int(spx_uint32_t i);
 
 int read_wav_header(FILE *file, int *rate, int *channels, int *format, int *size);