]> granicus.if.org Git - taglib/log
taglib
13 years agountested(!) comment write support for s3m and it files
Mathias Panzenböck [Sun, 19 Jun 2011 03:42:16 +0000 (05:42 +0200)]
untested(!) comment write support for s3m and it files

13 years agocomment writing support and more tests for mod and xm
Mathias Panzenböck [Sun, 19 Jun 2011 02:27:51 +0000 (04:27 +0200)]
comment writing support and more tests for mod and xm

13 years agocomments++
Mathias Panzenböck [Sat, 18 Jun 2011 02:28:48 +0000 (04:28 +0200)]
comments++

13 years agoxm: no \n too much in comment if there are no samples
Mathias Panzenböck [Sat, 18 Jun 2011 01:38:18 +0000 (03:38 +0200)]
xm: no \n too much in comment if there are no samples

13 years agofixed mod property names and added unit test for xm
Mathias Panzenböck [Sat, 18 Jun 2011 01:31:49 +0000 (03:31 +0200)]
fixed mod property names and added unit test for xm

13 years agoadded unit test for one flavour of .mod files
Mathias Panzenböck [Fri, 17 Jun 2011 03:18:49 +0000 (05:18 +0200)]
added unit test for one flavour of .mod files

13 years agoadded check for readOnly in save methods
Mathias Panzenböck [Tue, 14 Jun 2011 13:34:16 +0000 (15:34 +0200)]
added check for readOnly in save methods

13 years agoadded myself to AUTHORS
Mathias Panzenböck [Tue, 14 Jun 2011 13:23:11 +0000 (15:23 +0200)]
added myself to AUTHORS

13 years agofixed a comment
Mathias Panzenböck [Tue, 14 Jun 2011 01:56:32 +0000 (03:56 +0200)]
fixed a comment

13 years agoadded mod (+aliases) to defaultFileExtensions
Mathias Panzenböck [Tue, 14 Jun 2011 01:49:33 +0000 (03:49 +0200)]
added mod (+aliases) to defaultFileExtensions

13 years agoadded .mod file support
Mathias Panzenböck [Tue, 14 Jun 2011 01:47:08 +0000 (03:47 +0200)]
added .mod file support

13 years agoMod::File -> Mod::FileBase
Mathias Panzenböck [Mon, 13 Jun 2011 23:47:07 +0000 (01:47 +0200)]
Mod::File -> Mod::FileBase

13 years agomore indentation fixes
Mathias Panzenböck [Mon, 13 Jun 2011 23:30:54 +0000 (01:30 +0200)]
more indentation fixes

13 years agocode formatting fixes
Mathias Panzenböck [Mon, 13 Jun 2011 23:18:38 +0000 (01:18 +0200)]
code formatting fixes

13 years agoconverted tabs to spaces
Mathias Panzenböck [Mon, 13 Jun 2011 23:09:55 +0000 (01:09 +0200)]
converted tabs to spaces

13 years agorefactored for ABI compat and write support of some tags of s3m/it/xm files
Mathias Panzenböck [Mon, 13 Jun 2011 22:46:23 +0000 (00:46 +0200)]
refactored for ABI compat and write support of some tags of s3m/it/xm files

tags that can be written:
 * s3m: title
 * it: title
 * xm: title, trackerName

13 years agoadded read-only support for s3m, it and xm
Mathias Panzenböck [Mon, 13 Jun 2011 01:19:21 +0000 (03:19 +0200)]
added read-only support for s3m, it and xm

13 years agoMerge remote branch 'lalinsky/abstract-io'
Lukáš Lalinský [Thu, 9 Jun 2011 16:58:45 +0000 (18:58 +0200)]
Merge remote branch 'lalinsky/abstract-io'

13 years agoMerge branch 'abstract-io'
Lukáš Lalinský [Thu, 9 Jun 2011 16:58:05 +0000 (18:58 +0200)]
Merge branch 'abstract-io'

13 years agoAdd an empty default implementation of IOStream::clear()
Lukáš Lalinský [Thu, 9 Jun 2011 16:52:48 +0000 (18:52 +0200)]
Add an empty default implementation of IOStream::clear()

13 years agoBe more careful when parsing Vorbis Comments
Frank Lai [Thu, 9 Jun 2011 16:44:54 +0000 (18:44 +0200)]
Be more careful when parsing Vorbis Comments

13 years agoSupport for reading ALAC audio properties
Frank Lai [Thu, 9 Jun 2011 16:41:43 +0000 (18:41 +0200)]
Support for reading ALAC audio properties

13 years agoALAC file encoded by iTunes
Frank Lai [Thu, 9 Jun 2011 16:40:22 +0000 (18:40 +0200)]
ALAC file encoded by iTunes

13 years agoAdd a (failing) test for reading ALAC audio properties
Lukáš Lalinský [Wed, 8 Jun 2011 17:03:43 +0000 (19:03 +0200)]
Add a (failing) test for reading ALAC audio properties

13 years agoInstall the new headers
Lukáš Lalinský [Sat, 28 May 2011 20:06:41 +0000 (22:06 +0200)]
Install the new headers

13 years agoMerge remote branch 'taglib/master' into abstract-io
Lukáš Lalinský [Sat, 28 May 2011 20:04:07 +0000 (22:04 +0200)]
Merge remote branch 'taglib/master' into abstract-io

13 years agoAdded read-only support to FileStream
Stephen F. Booth [Sat, 28 May 2011 17:29:06 +0000 (13:29 -0400)]
Added read-only support to FileStream

13 years agoMake RefCounter compile on OS X with the 10.4 SDK
Lukáš Lalinský [Sat, 14 May 2011 22:07:29 +0000 (00:07 +0200)]
Make RefCounter compile on OS X with the 10.4 SDK

The 10.4 SDK defines OSAtomic functions as int32_t, while 10.5 and newer SDKs
define them as volatile int32_t. This caused a compilation error when
compiling against the 10.4 SDK.

I'd have prefered a preprocessor-based solution, but I couldn't find any
macro that says the SDK version, so I copied this cast solution from
Apple's WebKit. I assume then know what they are doing if they have to
workaround their own API. :)

13 years agoDon't lead the scanned blocks on save
Scott Wheeler [Mon, 9 May 2011 17:06:08 +0000 (19:06 +0200)]
Don't lead the scanned blocks on save

13 years agoMerge pull request #2 from wplaschg/master
Lukáš Lalinský [Mon, 9 May 2011 17:02:21 +0000 (10:02 -0700)]
Merge pull request #2 from wplaschg/master

Added ignore rules for MSVC 2008 build results

13 years agoAdding ignore rules for MSVC 2008 build results
Wolfgang Plaschg [Mon, 9 May 2011 14:23:17 +0000 (16:23 +0200)]
Adding ignore rules for MSVC 2008 build results

13 years agoSimplify static builds
Lukáš Lalinský [Sun, 8 May 2011 13:57:34 +0000 (15:57 +0200)]
Simplify static builds

13 years agoDon't install pkg-config files when building a framework
Lukáš Lalinský [Sun, 8 May 2011 13:50:44 +0000 (15:50 +0200)]
Don't install pkg-config files when building a framework

13 years agoMake it possible to build an OS X framework
Lukáš Lalinský [Sun, 8 May 2011 13:46:19 +0000 (15:46 +0200)]
Make it possible to build an OS X framework

13 years agoAlways make a copy of the ID3v1 genre name strings
Lukáš Lalinský [Mon, 2 May 2011 20:41:01 +0000 (22:41 +0200)]
Always make a copy of the ID3v1 genre name strings

http://thread.gmane.org/gmane.comp.kde.devel.taglib/1876

13 years agoAdd info about BUILD_EXAMPLES to the INSTALL file
Lukáš Lalinský [Tue, 19 Apr 2011 10:45:11 +0000 (12:45 +0200)]
Add info about BUILD_EXAMPLES to the INSTALL file

13 years agoUse the PUBLIC_HEADER property to prepare for building an OS X framework
Lukáš Lalinský [Mon, 18 Apr 2011 14:50:18 +0000 (16:50 +0200)]
Use the PUBLIC_HEADER property to prepare for building an OS X framework

13 years agoRemove unnecessary code from tfile.cpp
Lukáš Lalinský [Tue, 12 Apr 2011 12:35:31 +0000 (14:35 +0200)]
Remove unnecessary code from tfile.cpp

13 years agoAdd a ByteVector-backed stream class
Lukáš Lalinský [Tue, 12 Apr 2011 12:28:02 +0000 (14:28 +0200)]
Add a ByteVector-backed stream class

13 years agoDuplicate contructors of File subclasses to accept IOStream*
Lukáš Lalinský [Mon, 11 Apr 2011 21:31:44 +0000 (23:31 +0200)]
Duplicate contructors of File subclasses to accept IOStream*

13 years agoMake it possible to actually pass a IOStream instance to File
Lukáš Lalinský [Mon, 11 Apr 2011 21:15:46 +0000 (23:15 +0200)]
Make it possible to actually pass a IOStream instance to File

13 years agoAdd FileStream as a copy of File's methods
Lukáš Lalinský [Mon, 11 Apr 2011 21:12:58 +0000 (23:12 +0200)]
Add FileStream as a copy of File's methods

13 years agoAdd an abstract IOStream class
Lukáš Lalinský [Mon, 11 Apr 2011 20:46:56 +0000 (22:46 +0200)]
Add an abstract IOStream class

13 years agoMake it possible to run the test suite out of the source tree
Lukáš Lalinský [Mon, 11 Apr 2011 16:32:40 +0000 (18:32 +0200)]
Make it possible to run the test suite out of the source tree

13 years agoThe website has more up-to-date links
Lukáš Lalinský [Sat, 9 Apr 2011 18:15:00 +0000 (20:15 +0200)]
The website has more up-to-date links

13 years agoAdd myself to the AUTHORS file
Lukáš Lalinský [Sat, 9 Apr 2011 18:09:51 +0000 (20:09 +0200)]
Add myself to the AUTHORS file

13 years agoObsolete comment now that we are not in kdesupport
Lukáš Lalinský [Sat, 9 Apr 2011 18:07:15 +0000 (20:07 +0200)]
Obsolete comment now that we are not in kdesupport

13 years agoClean up the library CMakeLists.txt file
Lukáš Lalinský [Sat, 9 Apr 2011 18:05:50 +0000 (20:05 +0200)]
Clean up the library CMakeLists.txt file

13 years agoClean up the main CMakeLists.txt file
Lukáš Lalinský [Sat, 9 Apr 2011 17:51:23 +0000 (19:51 +0200)]
Clean up the main CMakeLists.txt file

13 years agoDon't set unnecessary compiler options
Lukáš Lalinský [Sat, 9 Apr 2011 17:42:56 +0000 (19:42 +0200)]
Don't set unnecessary compiler options

13 years agoMerge branch 'master' of github.com:taglib/taglib
Lukáš Lalinský [Sat, 9 Apr 2011 17:19:49 +0000 (19:19 +0200)]
Merge branch 'master' of github.com:taglib/taglib

13 years agoMerge branch 'stable'
Lukáš Lalinský [Sat, 9 Apr 2011 17:16:01 +0000 (19:16 +0200)]
Merge branch 'stable'

13 years agoSupport building documentation out-of-source-dir
Modestas Vainius [Sat, 9 Apr 2011 17:15:46 +0000 (19:15 +0200)]
Support building documentation out-of-source-dir

13 years agoNEWS entries
Lukáš Lalinský [Tue, 5 Apr 2011 22:08:42 +0000 (00:08 +0200)]
NEWS entries

13 years agoUpgrade IPLS (2.3) to TIPL (2.4)
Lukáš Lalinský [Tue, 5 Apr 2011 15:08:25 +0000 (17:08 +0200)]
Upgrade IPLS (2.3) to TIPL (2.4)

13 years agoProtect against incorrect ID3v2 version parameter
Lukáš Lalinský [Tue, 5 Apr 2011 13:36:23 +0000 (15:36 +0200)]
Protect against incorrect ID3v2 version parameter

13 years agoConvert frames TIPL and TMCL (2.4) to IPLS (2.3)
Lukáš Lalinský [Tue, 5 Apr 2011 13:16:17 +0000 (15:16 +0200)]
Convert frames TIPL and TMCL (2.4) to IPLS (2.3)

13 years agoMerge branch 'master' into id3v23
Lukáš Lalinský [Tue, 5 Apr 2011 12:37:36 +0000 (14:37 +0200)]
Merge branch 'master' into id3v23

13 years agoNEWS entry
Lukáš Lalinský [Wed, 30 Mar 2011 07:19:25 +0000 (09:19 +0200)]
NEWS entry

13 years agoFix DRM detection in WMA files
Martijn van Rheenen [Wed, 30 Mar 2011 07:15:28 +0000 (09:15 +0200)]
Fix DRM detection in WMA files

13 years agoUntested version of DRM checking in WMA files
Lukáš Lalinský [Tue, 29 Mar 2011 13:49:24 +0000 (15:49 +0200)]
Untested version of DRM checking in WMA files

13 years agoCheck for the presence of the drms atom in MP4 files
Lukáš Lalinský [Tue, 29 Mar 2011 13:41:17 +0000 (15:41 +0200)]
Check for the presence of the drms atom in MP4 files

13 years agoMake it possible to build a static version of the C bindings
M.A. Brand Consulting [Sat, 19 Mar 2011 07:28:35 +0000 (08:28 +0100)]
Make it possible to build a static version of the C bindings

https://bugs.kde.org/show_bug.cgi?id=268441

13 years agoUse the same SO versioning as we had with automake/libtool
Lukáš Lalinský [Sat, 19 Mar 2011 07:17:02 +0000 (08:17 +0100)]
Use the same SO versioning as we had with automake/libtool

http://article.gmane.org/gmane.comp.kde.devel.taglib/1826

13 years agoDon't overwrite fields that already exist
Lukáš Lalinský [Sat, 19 Mar 2011 06:37:28 +0000 (07:37 +0100)]
Don't overwrite fields that already exist

We can have multiple fields in the Vorbis Comment (e.g. two artist names),
but TagUnion only takes the first one, so it will effectively strip the
extra fields.

https://bugs.kde.org/show_bug.cgi?id=268854

13 years agoPartial protection against broken WMA files
Lukáš Lalinský [Sun, 13 Mar 2011 20:33:57 +0000 (21:33 +0100)]
Partial protection against broken WMA files

This fixes the problem on the reported file, but in general this code
needs a lot more checks.

https://bugs.kde.org/show_bug.cgi?id=268401

13 years agoDon't overwrite fields that already exist
Lukáš Lalinský [Sat, 19 Mar 2011 06:37:28 +0000 (07:37 +0100)]
Don't overwrite fields that already exist

We can have multiple fields in the Vorbis Comment (e.g. two artist names),
but TagUnion only takes the first one, so it will effectively strip the
extra fields.

https://bugs.kde.org/show_bug.cgi?id=268854

13 years agoDefine NOMINMAX so that windows.h doesn't define it's own versions
Lukáš Lalinský [Sat, 19 Mar 2011 06:26:55 +0000 (07:26 +0100)]
Define NOMINMAX so that windows.h doesn't define it's own versions

http://article.gmane.org/gmane.comp.kde.devel.taglib/1833
http://www.devx.com/tips/Tip/14540

13 years agoMerge branch 'master' into id3v23
Lukáš Lalinský [Thu, 17 Mar 2011 08:16:29 +0000 (09:16 +0100)]
Merge branch 'master' into id3v23

13 years agoIgnore docs and OS X dylibs
Scott Wheeler [Thu, 17 Mar 2011 06:58:29 +0000 (07:58 +0100)]
Ignore docs and OS X dylibs

13 years agoThese aren't needed anymore now that we're not in kdesupport
Scott Wheeler [Thu, 17 Mar 2011 06:57:24 +0000 (07:57 +0100)]
These aren't needed anymore now that we're not in kdesupport

13 years agoConvert TDRC to TYER+TDAT+TIME
Lukáš Lalinský [Wed, 16 Mar 2011 21:54:58 +0000 (22:54 +0100)]
Convert TDRC to TYER+TDAT+TIME

13 years agoClean-up temporary files
Lukáš Lalinský [Wed, 16 Mar 2011 16:19:11 +0000 (17:19 +0100)]
Clean-up temporary files

13 years agoSimple ID3v2.4 => ID3v2.3 frame migration
Lukáš Lalinský [Wed, 16 Mar 2011 16:14:36 +0000 (17:14 +0100)]
Simple ID3v2.4 => ID3v2.3 frame migration

13 years agoMake sure we don't write UTF8 or UTF16BE to ID3v2.3 tags
Lukáš Lalinský [Tue, 15 Mar 2011 20:57:49 +0000 (21:57 +0100)]
Make sure we don't write UTF8 or UTF16BE to ID3v2.3 tags

13 years agoSupport for writing structuraly correct ID3v2.3 tags
Lukáš Lalinský [Tue, 15 Mar 2011 19:50:47 +0000 (20:50 +0100)]
Support for writing structuraly correct ID3v2.3 tags

We don't use the tag footer, extended header or unsynchronization, so we
only need to change the frame size format.

Note that this doesn't write correct ID3v2.3 tags, just tags that have
the correct structure. The content is sill incorrect, unless you add
the right frames manually to the tag instance.

13 years agoPartial protection against broken WMA files
Lukáš Lalinský [Sun, 13 Mar 2011 20:33:57 +0000 (21:33 +0100)]
Partial protection against broken WMA files

This fixes the problem on the reported file, but in general this code
needs a lot more checks.

https://bugs.kde.org/show_bug.cgi?id=268401

13 years agoUse the memory barrier variants on OS X
Lukáš Lalinský [Sat, 12 Mar 2011 22:21:54 +0000 (23:21 +0100)]
Use the memory barrier variants on OS X

13 years agoUse GCC automic builtins where possible
Lukáš Lalinský [Sat, 12 Mar 2011 22:19:01 +0000 (23:19 +0100)]
Use GCC automic builtins where possible

13 years agoAdd .gitignore
Lukáš Lalinský [Fri, 11 Mar 2011 14:16:05 +0000 (15:16 +0100)]
Add .gitignore

13 years agoMerge branch 'release-1.7'
Lukáš Lalinský [Fri, 11 Mar 2011 13:16:11 +0000 (14:16 +0100)]
Merge branch 'release-1.7'

13 years agoAdd release date v1.7
Lukáš Lalinský [Fri, 11 Mar 2011 13:15:38 +0000 (14:15 +0100)]
Add release date

13 years agoNews for 1.7
Lukáš Lalinský [Fri, 11 Mar 2011 12:21:54 +0000 (13:21 +0100)]
News for 1.7

13 years agoMerge commit 'eee860f9c6' into release-1.7
Lukáš Lalinský [Fri, 11 Mar 2011 12:19:35 +0000 (13:19 +0100)]
Merge commit 'eee860f9c6' into release-1.7

13 years agoFix memory leaks in the FLAC parsing code
Lukáš Lalinský [Fri, 11 Mar 2011 09:29:27 +0000 (10:29 +0100)]
Fix memory leaks in the FLAC parsing code

Thanks to Daniel Schaack for reporting these.

13 years agoups, revert my accidentally commited debug output
Nick Shaforostoff [Thu, 10 Mar 2011 17:30:22 +0000 (17:30 +0000)]
ups, revert my accidentally commited debug output

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1224409 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agouse atomic refcounting on mac and win32, todo for linux
Nick Shaforostoff [Thu, 10 Mar 2011 17:29:30 +0000 (17:29 +0000)]
use atomic refcounting on mac and win32, todo for linux

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1224407 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoFix build when the 'uint' typedef is already defined.
Raphael Kubo da Costa [Wed, 2 Mar 2011 03:05:28 +0000 (03:05 +0000)]
Fix build when the 'uint' typedef is already defined.

Using uint in those structs gave me the following error:

  /home/rakuco/kde4/src/kdesupport/taglib/taglib/riff/rifffile.cpp:38:
error: reference to 'uint' is ambiguous
  /usr/include/sys/types.h:56: error: candidates are: typedef unsigned
int uint

Is it really necessary to have those typedefs in taglib.h? It'd be
nice to at least check if they are not being redefined.

CCMAIL: lalinsky@gmail.com

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1223282 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoUpdate the AIFF test
Lukáš Lalinský [Fri, 25 Feb 2011 19:43:25 +0000 (19:43 +0000)]
Update the AIFF test

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1222753 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoFix the patch from r1222376
Lukáš Lalinský [Fri, 25 Feb 2011 19:42:49 +0000 (19:42 +0000)]
Fix the patch from r1222376

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1222752 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoa formal change: convert rifffile.cpp to use vector of structs instead of several...
Nick Shaforostoff [Wed, 23 Feb 2011 09:16:25 +0000 (09:16 +0000)]
a formal change: convert rifffile.cpp to use vector of structs instead of several vectors of simple types

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1222376 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agodivide by 1000 instead of 1024 when calculating riff bitrate to get standard 1411...
Nick Shaforostoff [Wed, 23 Feb 2011 08:58:17 +0000 (08:58 +0000)]
divide by 1000 instead of 1024 when calculating riff bitrate to get standard 1411 kbps bitrate on AudioCD wavs

CCMAIL:taglib-devel@kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1222375 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoMore news v1.7rc1
Lukáš Lalinský [Sun, 13 Feb 2011 12:47:52 +0000 (12:47 +0000)]
More news

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1220247 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoAutomatically generate the version number in taglib-config
Lukáš Lalinský [Sun, 13 Feb 2011 12:45:24 +0000 (12:45 +0000)]
Automatically generate the version number in taglib-config

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1220246 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoCMake-specific INSTALL file
Lukáš Lalinský [Sun, 13 Feb 2011 12:36:04 +0000 (12:36 +0000)]
CMake-specific INSTALL file

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1220241 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoAdd svn:ignore
Lukáš Lalinský [Sun, 13 Feb 2011 12:25:39 +0000 (12:25 +0000)]
Add svn:ignore

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1220239 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoMove docs building to CMake
Lukáš Lalinský [Sun, 13 Feb 2011 12:22:42 +0000 (12:22 +0000)]
Move docs building to CMake

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1220238 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years ago*poof*
Lukáš Lalinský [Sun, 13 Feb 2011 11:50:25 +0000 (11:50 +0000)]
*poof*

I've warned people about removing autoconf/automake support for a long time,
so let's make it happen for 1.7. CMake is now the only supported build system.
I'll update build docs in a following commit.

CCMAIL:taglib-devel@kde.org

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1220235 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoSet the version number to 1.7
Lukáš Lalinský [Sun, 13 Feb 2011 10:59:33 +0000 (10:59 +0000)]
Set the version number to 1.7

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1220230 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

13 years agoFix writing of new RIFF chunks at even positions
Lukáš Lalinský [Sun, 13 Feb 2011 10:27:56 +0000 (10:27 +0000)]
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