Birunthan Mohnathas
c4163a26e8
Fixed memory leak of FrameFactory singleton.
2012-03-12 18:56:08 +02:00
Birunthan Mohnathas
4496efe33b
Fixed (huge) memory leak with ASF.
2012-03-12 18:44:08 +02:00
Lukáš Lalinský
3a760b060c
Merge branch 'stable'
...
Conflicts:
taglib/riff/aiff/aiffproperties.cpp
taglib/trueaudio/trueaudioproperties.cpp
tests/test_wav.cpp
2012-03-10 09:16:37 +01:00
Lukáš Lalinský
110cac8429
Avoid uint overflow in case the length + index is over UINT_MAX
2012-03-10 09:13:04 +01:00
Lukáš Lalinský
258ae751b5
Don't store the output of ByteVector::toUInt() in int, use uint instead
2012-03-10 09:12:32 +01:00
Lukáš Lalinský
df1d3e028e
Make sure to not try dividing by zero
2012-03-10 09:12:19 +01:00
Stephen F. Booth
23c86cf27d
Check if the header is TTA1 before parsing
2012-03-10 09:11:51 +01:00
Lukáš Lalinský
f59c3b67aa
Detect RIFF files with invalid chunk sizes
...
The bug report has a WAVE file with zero-sized 'data' chunk, which causes
TagLib to iterate over the file, 8 bytes in each iteration. The new code
adds a check for the chunk name, which forces it to mark the file as
invalid if the chunk name doesn't contain ASCII characters.
https://bugs.kde.org/show_bug.cgi?id=283412
2012-03-10 09:06:55 +01:00
Stephen F. Booth
294cb22241
Don't crash when wav files have a 0 for bit per channel (sampleWidth)
...
I've seen this in a wav that has an audio format of MP3 (0x55)
2012-03-10 08:58:45 +01:00
Frank Lai
b7ec0d26ab
Be more careful when parsing Vorbis Comments
2012-03-10 08:52:59 +01:00
Scott Wheeler
934ce51790
Don't lead the scanned blocks on save
2012-03-10 08:52:17 +01:00
Lukáš Lalinský
dcdf4fd954
Avoid uint overflow in case the length + index is over UINT_MAX
2012-03-10 08:46:20 +01:00
Lukáš Lalinský
ab8a0ee893
Don't store the output of ByteVector::toUInt() in int, use uint instead
2012-03-04 12:01:21 +01:00
Lukáš Lalinský
77d61c6eca
Make sure to not try dividing by zero
2012-03-04 11:51:05 +01:00
Lukáš Lalinský
cdfb447042
Add explicitly declared default constructor to StringHandler
2012-02-04 21:22:52 +01:00
Lukáš Lalinský
2d00b690de
Merge branch 'master' of https://github.com/poiru/taglib
2012-02-04 20:38:14 +01:00
Stephen F. Booth
51675f3399
Added sampleFrames to FLACProperties
2012-02-04 11:34:40 -05:00
Stephen F. Booth
fa662a23db
Check if the header is TTA1 before parsing
2012-02-04 08:39:45 -05:00
Stephen F. Booth
dc628204c0
Added sampleFrames() for TTA files
2012-02-04 08:30:34 -05:00
Birunthan Mohanathas
9564956a7f
Removed space.
2012-02-02 18:12:37 +02:00
Birunthan Mohnathas
1f2248d24b
Additional change to previous fix.
2012-02-02 17:50:58 +02:00
Birunthan Mohnathas
06424598bb
Fixed memory leak.
2012-02-02 15:03:41 +02:00
Stephen F. Booth
7b3f279294
Correctly handle non-integral bit depths
2012-01-30 22:31:15 -05:00
Lukáš Lalinský
d904281c6b
Make it possible to generate an XML report
2012-01-14 10:16:54 +01:00
Lukáš Lalinský
40bf52e70f
Reverse the version check, similarly to what mp4v2 does
2012-01-10 17:18:20 +01:00
Lukáš Lalinský
b981b6dde7
Check also for the deprecated GIF type
2012-01-08 15:54:15 +01:00
Lukáš Lalinský
c237998983
Support non-UTF8 free-form atoms
2012-01-08 13:17:42 +01:00
Urs Fleisch
5ff810e98d
Support for ID3v2.2 frames used by iTunes (TCP, TS2, TSA, TSC, TSP, TST)
...
https://bugs.kde.org/show_bug.cgi?id=290330
2012-01-05 16:33:29 +01:00
Scott Wheeler
baafb3e290
Funny that there managed to be no operator!= for String for so long.
2012-01-01 16:01:18 +01:00
Lukáš Lalinský
6ea8599313
Detect RIFF files with invalid chunk sizes
...
The bug report has a WAVE file with zero-sized 'data' chunk, which causes
TagLib to iterate over the file, 8 bytes in each iteration. The new code
adds a check for the chunk name, which forces it to mark the file as
invalid if the chunk name doesn't contain ASCII characters.
https://bugs.kde.org/show_bug.cgi?id=283412
2011-10-08 18:41:15 +02:00
Graham Perks
837c9ef288
Add cmake option for visibility=hidden
2011-09-09 10:17:54 -05:00
Lukáš Lalinský
686bcf55a9
Add support for iPhone ringtones
2011-08-28 11:02:34 +02:00
Tim De Baets
bec3875b94
Added removePicture() to FLAC::File
2011-08-16 01:57:01 +02:00
Urs Fleisch
ce53d13af1
Add suport for more MP4 metadata atoms
...
https://bugs.kde.org/show_bug.cgi?id=275784
2011-08-13 17:07:41 +02:00
Mathias Panzenböck
4868bb5690
ByteVector::replace: test shrinking
2011-08-06 19:43:17 +02:00
Jonathan Liu
7cc36db760
Use the default frame factory when it's necessary to parse ID3v2 tags in APE files
...
https://bugs.kde.org/show_bug.cgi?id=278773
2011-08-06 11:05:20 +02:00
Lukáš Lalinský
028f831417
Basic tests for ByteVector::replace()
2011-08-05 18:47:53 +02:00
Lukáš Lalinský
303af305db
Merge remote branch 'panzi/master'
2011-08-05 18:35:24 +02:00
Johannes Pfau
22b57f4463
Add taglib_free function to C binding
2011-08-05 13:17:42 +02:00
Mathias Panzenböck
11c993e9f0
use DATA() macro
2011-08-01 15:33:27 +02:00
Mathias Panzenböck
3b14dc3e94
ByteVector::replace: forgot detach() and opt. when pattern not found
2011-08-01 15:14:58 +02:00
Mathias Panzenböck
ad7645f8e9
ByteVector::replace performance improvements
2011-08-01 04:13:55 +02:00
Lukáš Lalinský
fb2decb7de
Reformatting
2011-07-28 19:16:32 +02:00
Lukáš Lalinský
3a837e7fc7
Reformatting
2011-07-28 19:06:35 +02:00
Lukáš Lalinský
0730076a0f
Merge remote-tracking branch 'gperks/master'
...
Conflicts:
taglib/asf/asfpicture.cpp
taglib/it/itproperties.h
2011-07-28 19:03:46 +02:00
Lukáš Lalinský
364a840d83
Merge remote-tracking branch 'setosha/ASFPicture_warning_fix'
2011-07-28 18:53:57 +02:00
Scott Wheeler
e9cd383139
Merge pull request #14 from sbooth/master
...
Some non-PCM wave files can cause SIG_ARITHMETIC
2011-07-28 05:45:11 -07:00
Stephen F. Booth
a41b32bbb2
Don't crash when wav files have a 0 for bit per channel (sampleWidth)
...
I've seen this in a wav that has an audio format of MP3 (0x55)
2011-07-28 08:36:14 -04:00
Scott Wheeler
98d6b97798
Fix warning
2011-07-27 23:22:23 +02:00
Scott Wheeler
019fe4843f
ByteVector works on chars, not unsigned chars, so there needs to be a cast before the comparison
2011-07-27 23:14:54 +02:00