Revision 1220223

Go back to digest for 20th February 2011

Bug Fixes in Multimedia

Lukáš Lalinský committed changes in /trunk/kdesupport/taglib:

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...

File Changes

Added 2 files
  • /trunk/kdesupport/taglib/tests/data
  •   /noise.aif
  •   /noise_odd.aif
Modified 3 files
  • /trunk/kdesupport/taglib
  •   /tests/test_riff.cpp
  •   /taglib/riff/rifffile.cpp
  •   /taglib/riff/rifffile.h
5 files changed in total