Skip to content
Snippets Groups Projects
Commit 35f55e20 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

[#2284] Remove redefinition warnings + speex warnings

parent 6683a03b
No related branches found
No related tags found
No related merge requests found
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
# define wcsicmp _wcsicmp # define wcsicmp _wcsicmp
# define wcsnicmp _wcsnicmp # define wcsnicmp _wcsnicmp
#else #else
# define stricmp strcasecmp // # define stricmp strcasecmp
# define strnicmp strncasecmp // # define strnicmp strncasecmp
# if defined(PJ_NATIVE_STRING_IS_UNICODE) && PJ_NATIVE_STRING_IS_UNICODE!=0 # if defined(PJ_NATIVE_STRING_IS_UNICODE) && PJ_NATIVE_STRING_IS_UNICODE!=0
# error "Implement Unicode string functions" # error "Implement Unicode string functions"
......
...@@ -111,7 +111,7 @@ class Speex : public AudioCodec ...@@ -111,7 +111,7 @@ class Speex : public AudioCodec
virtual int codecDecode (short *dst, unsigned char *src, unsigned int size) { virtual int codecDecode (short *dst, unsigned char *src, unsigned int size) {
int ratio = 320 / _speex_frame_size; // int ratio = 320 / _speex_frame_size;
speex_bits_read_from (&_speex_dec_bits, (char*) src, size); speex_bits_read_from (&_speex_dec_bits, (char*) src, size);
speex_decode_int (_speex_dec_state, &_speex_dec_bits, dst); speex_decode_int (_speex_dec_state, &_speex_dec_bits, dst);
......
...@@ -109,7 +109,7 @@ class Speex : public AudioCodec ...@@ -109,7 +109,7 @@ class Speex : public AudioCodec
virtual int codecDecode (short *dst, unsigned char *src, unsigned int size) { virtual int codecDecode (short *dst, unsigned char *src, unsigned int size) {
int ratio = 320 / _speex_frame_size; // int ratio = 320 / _speex_frame_size;
speex_bits_read_from (&_speex_dec_bits, (char*) src, size); speex_bits_read_from (&_speex_dec_bits, (char*) src, size);
speex_decode_int (_speex_dec_state, &_speex_dec_bits, dst); speex_decode_int (_speex_dec_state, &_speex_dec_bits, dst);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment