[flac-dev] [PATCH] for crc.h

lvqcl lvqcl.mail at gmail.com
Sat Jul 19 00:31:49 PDT 2014


The definition of FLAC__CRC16_UPDATE contain one extra pair of parentheses:

#define FLAC__CRC16_UPDATE(data, crc) (((((crc)<<8) & 0xffff) ^ FLAC__crc16_table[((crc)>>8) ^ (data)]))

  ((     ( ((crc)<<8) & 0xffff ) ^ FLAC__crc16_table[ ((crc)>>8) ^ (data) ]     ))
  ^                                                                              ^

The patch is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crc.patch
Type: application/octet-stream
Size: 709 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140719/89129bab/attachment.obj 


More information about the flac-dev mailing list