[xiph-cvs] cvs commit: speex/libspeex bits.c
Jean-Marc Valin
jm at xiph.org
Fri Aug 22 20:10:40 PDT 2003
jm 03/08/22 23:10:40
Modified: libspeex bits.c
Log:
oops...
Revision Changes Path
1.30 +3 -3 speex/libspeex/bits.c
Index: bits.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/bits.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- bits.c 22 Aug 2003 21:44:42 -0000 1.29
+++ bits.c 23 Aug 2003 03:10:40 -0000 1.30
@@ -166,8 +166,8 @@
int speex_bits_write(SpeexBits *bits, char *bytes, int max_len)
{
int i;
- char bytePtr, bitPtr, nbBits;
-
+ int bytePtr, bitPtr, nbBits;
+
/* Insert terminator, but save the data so we can put it back after */
bitPtr=bits->bitPtr;
bytePtr=bits->bytePtr;
@@ -176,7 +176,7 @@
bits->bitPtr=bitPtr;
bits->bytePtr=bytePtr;
bits->nbBits=nbBits;
-
+
if (max_len > ((bits->nbBits+7)>>3))
max_len = ((bits->nbBits+7)>>3);
for (i=0;i<max_len;i++)
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list