bitmath.h : Fixes for FLAC__bitmath_ilog2_wide().
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 1 Feb 2014 23:42:17 +0000 (10:42 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 1 Feb 2014 23:42:20 +0000 (10:42 +1100)
commit71c9555366336b5d4fcd54cf522036db68f603cf
tree14ada58e4b64d5c992d00dfa758f07e99140729d
parent96011ffa60d0386d56c697c670ca5e5721c9ae83
bitmath.h : Fixes for FLAC__bitmath_ilog2_wide().

Existing version had a number of problems:
1) it didn't compile with MSVS
2) it returned correct results only when compiles with GNUC
3) it mentioned LGPL which isn't good for a BSD-licensed library

LGPL -> BSD issue documented here:
http://lists.xiph.org/pipermail/flac-dev/2013-September/004356.html

Patch-from: lvqcl <lvqcl.mail@gmail.com>
src/libFLAC/include/private/bitmath.h