taglib/taglib — pull request #25 by sbooth (2012-01-31 03:33:44+00:00)
Title: WAVE properties reader crashes with bit depths < 8

If the bit depth read from a WAVE file is less than 8, the calculation for sampleFrames will crash. Additionally, the calculation was off for non-integral bit depths. This commit fixes those issues.