mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
minor changes in anticipation of release
This commit is contained in:
@@ -251,7 +251,15 @@ static FLAC__bool bitbuffer_read_from_client_(FLAC__BitBuffer *bb, FLAC__bool (*
|
||||
|
||||
FLAC__BitBuffer *FLAC__bitbuffer_new()
|
||||
{
|
||||
return (FLAC__BitBuffer*)malloc(sizeof(FLAC__BitBuffer));
|
||||
FLAC__BitBuffer *bb = (FLAC__BitBuffer*)malloc(sizeof(FLAC__BitBuffer));
|
||||
|
||||
if(0 != bb) {
|
||||
bb->buffer = 0;
|
||||
bb->capacity = 0;
|
||||
bb->blurbs = bb->bits = bb->total_bits = 0;
|
||||
bb->consumed_blurbs = bb->consumed_bits = bb->total_consumed_bits = 0;
|
||||
}
|
||||
return bb;
|
||||
}
|
||||
|
||||
void FLAC__bitbuffer_delete(FLAC__BitBuffer *bb)
|
||||
|
||||
Reference in New Issue
Block a user