From 72222cae21ed0484fb2e43a8101d5e5c64664b14 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Thu, 26 Apr 2001 05:58:28 +0000 Subject: [PATCH] minor optimization --- src/libFLAC/bitbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libFLAC/bitbuffer.c b/src/libFLAC/bitbuffer.c index b84b1001..416b01b3 100644 --- a/src/libFLAC/bitbuffer.c +++ b/src/libFLAC/bitbuffer.c @@ -1452,7 +1452,7 @@ bool FLAC__bitbuffer_read_unary_unsigned(FLAC__BitBuffer *bb, unsigned *val, boo } else { val_ += 8; - FLAC__CRC16_UPDATE(bb->buffer[bb->consumed_bytes], bb->read_crc16); + FLAC__CRC16_UPDATE(0, bb->read_crc16); bb->consumed_bytes++; /* bb->consumed_bits is already 0 */ /* we hold off updating bb->total_consumed_bits until the end */