projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
897fa94
)
Repaired an initialization bug in _oggpack_writeinit() found by Slavo
author
Monty
<xiphmont@xiph.org>
Mon, 15 Nov 1999 16:05:38 +0000
(16:05 +0000)
committer
Monty
<xiphmont@xiph.org>
Mon, 15 Nov 1999 16:05:38 +0000
(16:05 +0000)
Kopinec <macik@europe.com>
Monty
svn path=/trunk/vorbis/; revision=170
lib/bitwise.c
patch
|
blob
|
history
diff --git
a/lib/bitwise.c
b/lib/bitwise.c
index
ec4bd67
..
2b8f87a
100644
(file)
--- a/
lib/bitwise.c
+++ b/
lib/bitwise.c
@@
-39,6
+39,7
@@
static unsigned long mask[]=
void _oggpack_writeinit(oggpack_buffer *b){
memset(b,0,sizeof(oggpack_buffer));
b->ptr=b->buffer=malloc(BUFFER_INCREMENT);
+ b->buffer[0]='\0';
b->storage=BUFFER_INCREMENT;
}