Displaying 1 result from an estimated 1 matches for "95adbfd".
Did you mean:
95a2b3d
2008 Nov 07
1
Patch : Make speex_bits_read_from and speex_bits_read_whole_bytes const correct
...s of append
*/
-void speex_bits_read_whole_bytes(SpeexBits *bits, char *bytes, int len);
+void speex_bits_read_whole_bytes(SpeexBits *bits, const char *bytes, int len);
/** Write the content of a bit-stream to an area of memory
*
diff --git a/libspeex/bits.c b/libspeex/bits.c
index 8e5e6b6..95adbfd 100644
--- a/libspeex/bits.c
+++ b/libspeex/bits.c
@@ -106,7 +106,7 @@ EXPORT void speex_bits_rewind(SpeexBits *bits)
bits->overflow=0;
}
-EXPORT void speex_bits_read_from(SpeexBits *bits, char *chars, int len)
+EXPORT void speex_bits_read_from(SpeexBits *bits, const char *chars, int len)...