projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b7324
)
remove buggy bug comment/printout
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 28 Mar 2001 22:19:18 +0000
(22:19 +0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 28 Mar 2001 22:19:18 +0000
(22:19 +0000)
src/libFLAC/bitbuffer.c
patch
|
blob
|
history
diff --git
a/src/libFLAC/bitbuffer.c
b/src/libFLAC/bitbuffer.c
index
0c03ff4
..
37c1c10
100644
(file)
--- a/
src/libFLAC/bitbuffer.c
+++ b/
src/libFLAC/bitbuffer.c
@@
-76,7
+76,6
@@
static bool bitbuffer_resize_(FLAC__BitBuffer *bb, unsigned new_capacity)
if(bb->capacity == new_capacity)
return true;
-fprintf(stderr,"@@@ bitbuffer_resize_(bb=%p, capacity=%u, new_capactity=%u)\n",bb,bb->capacity,new_capacity);
new_buffer = (byte*)malloc(sizeof(byte) * new_capacity);
if(new_buffer == 0)
return false;
@@
-87,7
+86,6
@@
fprintf(stderr,"@@@ bitbuffer_resize_(bb=%p, capacity=%u, new_capactity=%u)\n",b
bb->bits = 0;
bb->total_bits = (new_capacity<<3);
}
-//@@@ boy oh boy, is this a bug? maybe should drop the 'if' statement
if(new_capacity < bb->consumed_bytes+(bb->consumed_bits?1:0)) {
bb->consumed_bytes = new_capacity;
bb->consumed_bits = 0;