mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 21:14:23 -04:00
Fix writing of new RIFF chunks at even positions
If the last chunk had an odd size, the new chunk would have been written at odd position, which is incorrect. This is based on the patch by Jens Dyffort, but I ended up changing the implementation to correctly handle subsequential updates to the file. The whole RIFF code really needs to be rewritten in a different way... BUG:243954 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1220223 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
BIN
tests/data/noise.aif
Normal file
BIN
tests/data/noise.aif
Normal file
Binary file not shown.
BIN
tests/data/noise_odd.aif
Normal file
BIN
tests/data/noise_odd.aif
Normal file
Binary file not shown.
Reference in New Issue
Block a user