mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
minor optimization
This commit is contained in:
@@ -1452,7 +1452,7 @@ bool FLAC__bitbuffer_read_unary_unsigned(FLAC__BitBuffer *bb, unsigned *val, boo
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
val_ += 8;
|
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_bytes++;
|
||||||
/* bb->consumed_bits is already 0 */
|
/* bb->consumed_bits is already 0 */
|
||||||
/* we hold off updating bb->total_consumed_bits until the end */
|
/* we hold off updating bb->total_consumed_bits until the end */
|
||||||
|
|||||||
Reference in New Issue
Block a user