minor optimization
authorJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 26 Apr 2001 05:58:28 +0000 (05:58 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 26 Apr 2001 05:58:28 +0000 (05:58 +0000)
src/libFLAC/bitbuffer.c

index b84b100..416b01b 100644 (file)
@@ -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 */