Commit 65c27964 authored by Robert Kausch's avatar Robert Kausch Committed by Erik de Castro Lopo
Browse files

Fix CRC calculation for small blocks.

parent 8874ecc0
......@@ -128,7 +128,7 @@ static inline void crc16_update_word_(FLAC__BitReader *br, brword word)
static inline void crc16_update_block_(FLAC__BitReader *br)
if(br->consumed_words > br->crc16_offset && br->crc16_align)
crc16_update_word_(br, br->buffer[br->crc16_offset++]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment