Tsuda Kageyu
bd4a45b07e
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# ConfigureChecks.cmake
# taglib/CMakeLists.txt
# taglib/asf/asfattribute.cpp
# taglib/it/itproperties.cpp
# taglib/mod/modproperties.cpp
# taglib/mpeg/mpegfile.cpp
# taglib/mpeg/mpegproperties.cpp
# taglib/ogg/flac/oggflacfile.cpp
# taglib/s3m/s3mproperties.cpp
# taglib/tagunion.cpp
# taglib/toolkit/tfile.cpp
# taglib/toolkit/trefcounter.h
# taglib/toolkit/tstring.cpp
# taglib/xm/xmproperties.cpp
# tests/test_mpeg.cpp
2017-02-21 10:22:20 +09:00
Tsuda Kageyu
3d14ff74b1
Remove a duplicate test file.
2017-01-27 22:10:02 +09:00
Tsuda Kageyu
6bb92c34fa
Ignore fake MPEG frame headers when seeking them.
2017-01-20 22:38:25 +09:00
Tsuda Kageyu
13be28a52c
Be tolerant of empty FLAC seektable blocks.
2017-01-10 00:11:13 +09:00
Ramesh Shanmugasundaram
83c72518ab
Renamed unsupported-extension.xxx and modified test
...
The file name unsupported-extension.xxx causes issue when unpacked
taglib-xxx.gz over an NFS partition. The file extension ".xxx" is the
one NFS uses for its own purpose and hence it will not allow creation
of this file.
Hence renamed the file and modified the test cases that checks for this
file.
Signed-off-by: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>
2016-12-22 15:19:45 +00:00
Tsuda Kageyu
d8114059ee
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# config.h.cmake
# taglib/ogg/xiphcomment.cpp
# taglib/taglib_config.h.cmake
# taglib/toolkit/tbytevector.cpp
# taglib/toolkit/trefcounter.cpp
# taglib/toolkit/tstring.cpp
# taglib/toolkit/tutils.h
# taglib/toolkit/tzlib.cpp
# taglib/xm/xmfile.cpp
# tests/test_string.cpp
# tests/test_xiphcomment.cpp
2016-12-13 13:52:35 +09:00
Tsuda Kageyu
b98a984b66
Fix handling of lowercase 'metadata_block_picture' fields in Vorbis comments.
...
Also refactored some redundant code for parsing pictures.
2016-11-11 00:07:32 +09:00
Tsuda Kageyu
bd5688ae5f
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# taglib/mp4/mp4atom.cpp
# taglib/toolkit/tutils.h
# tests/test_apetag.cpp
2016-11-09 11:05:53 +09:00
Tsuda Kageyu
f5ca097379
Proper handling of MP4 atoms with zero length.
...
If the size of an atom is 0, it designates the last atom which extends to the end of the file.
2016-11-02 15:44:50 +09:00
Tsuda Kageyu
d9df59306f
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# AUTHORS
# ConfigureChecks.cmake
# taglib/asf/asfutils.h
# taglib/mp4/mp4atom.cpp
# taglib/mp4/mp4tag.h
# taglib/mpeg/id3v2/frames/ownershipframe.cpp
# taglib/mpeg/id3v2/frames/synchronizedlyricsframe.cpp
# taglib/mpeg/id3v2/frames/tableofcontentsframe.cpp
# taglib/mpeg/id3v2/id3v2frame.cpp
# taglib/riff/rifffile.cpp
# taglib/riff/rifffile.h
# taglib/toolkit/taglib.h
# taglib/toolkit/tbytevector.cpp
# taglib/toolkit/tfilestream.cpp
# taglib/toolkit/tstring.cpp
# taglib/toolkit/tutils.h
# taglib/xm/xmfile.cpp
# tests/test_bytevector.cpp
# tests/test_fileref.cpp
# tests/test_id3v2.cpp
# tests/test_riff.cpp
# tests/test_string.cpp
2016-10-30 21:20:23 +09:00
Tsuda Kageyu
6a96a6426a
Replace a possibly non-free file in the test suite.
2016-10-22 02:11:16 +09:00
Tsuda Kageyu
9b995544e4
Fix reading table of contents frames with a lot of children.
2016-05-14 09:58:19 +09:00
Tsuda Kageyu
57e849b0d5
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# taglib/ape/apeitem.cpp
# taglib/mpeg/mpegheader.cpp
# taglib/toolkit/tutils.h
2016-02-04 20:48:31 +09:00
Tsuda Kageyu
9976155aa9
Ignore 'fact' chunk of WAV files if their format is PCM.
...
TagLib reports wrong length of some PCM files with a 'fact' chunk.
2016-01-30 00:51:28 +09:00
Tsuda Kageyu
fe92f3dffe
Add a test for broken MPEG audio frames.
2016-01-09 13:30:00 +09:00
Tsuda Kageyu
1a73c82a76
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# taglib/flac/flacfile.h
# taglib/mpeg/mpegheader.cpp
# taglib/mpeg/mpegproperties.cpp
# taglib/ogg/oggfile.cpp
# taglib/ogg/oggpage.cpp
# taglib/ogg/oggpageheader.cpp
# tests/test_mpeg.cpp
2016-01-06 10:28:09 +09:00
Tsuda Kageyu
081d6eaf76
More robust checks for invalid MPEG frame headers. (again)
2015-12-22 14:57:23 +09:00
Tsuda Kageyu
f72b0ecebf
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# CMakeLists.txt
# ConfigureChecks.cmake
# taglib/flac/flacfile.cpp
# taglib/mp4/mp4file.cpp
# taglib/mpeg/mpegheader.cpp
# taglib/mpeg/mpegproperties.cpp
# taglib/riff/rifffile.cpp
# taglib/toolkit/trefcounter.h
2015-12-16 13:33:04 +09:00
Tsuda Kageyu
be9b5cc93a
More robust checks for invalid MPEG frame headers.
2015-12-08 11:20:51 +09:00
Tsuda Kageyu
d36550f96d
Merge branch 'master' into merge-master-to-taglib2
...
# Conflicts:
# taglib/ape/apetag.cpp
# taglib/ape/apetag.h
# taglib/flac/flacproperties.cpp
# taglib/mpeg/id3v1/id3v1tag.cpp
# taglib/mpeg/id3v2/id3v2tag.cpp
# taglib/riff/rifffile.cpp
# taglib/riff/wav/infotag.cpp
# taglib/toolkit/tbytevector.cpp
2015-12-02 09:31:10 +09:00
Tsuda Kageyu
59088096e6
Add some tests for M4V files.
2015-11-30 17:18:50 +09:00
Tsuda Kageyu
e6e11c957d
Merge branch 'master' into taglib2
...
Conflicts:
CMakeLists.txt
ConfigureChecks.cmake
config.h.cmake
taglib/CMakeLists.txt
taglib/ape/apefile.cpp
taglib/ape/apefile.h
taglib/ape/apeproperties.cpp
taglib/ape/apeproperties.h
taglib/ape/apetag.cpp
taglib/asf/asfattribute.cpp
taglib/asf/asffile.cpp
taglib/asf/asffile.h
taglib/asf/asfpicture.cpp
taglib/asf/asfpicture.h
taglib/asf/asfproperties.cpp
taglib/asf/asfproperties.h
taglib/audioproperties.cpp
taglib/flac/flacfile.cpp
taglib/flac/flacfile.h
taglib/flac/flacproperties.cpp
taglib/flac/flacproperties.h
taglib/it/itproperties.cpp
taglib/mod/modproperties.cpp
taglib/mp4/mp4atom.cpp
taglib/mp4/mp4file.cpp
taglib/mp4/mp4file.h
taglib/mp4/mp4properties.cpp
taglib/mp4/mp4tag.cpp
taglib/mp4/mp4tag.h
taglib/mpc/mpcfile.cpp
taglib/mpc/mpcfile.h
taglib/mpc/mpcproperties.cpp
taglib/mpc/mpcproperties.h
taglib/mpeg/id3v2/frames/chapterframe.cpp
taglib/mpeg/id3v2/frames/synchronizedlyricsframe.cpp
taglib/mpeg/id3v2/frames/tableofcontentsframe.cpp
taglib/mpeg/mpegfile.cpp
taglib/mpeg/mpegfile.h
taglib/mpeg/mpegheader.cpp
taglib/mpeg/mpegproperties.cpp
taglib/mpeg/mpegproperties.h
taglib/mpeg/xingheader.cpp
taglib/mpeg/xingheader.h
taglib/ogg/opus/opusfile.cpp
taglib/ogg/opus/opusfile.h
taglib/ogg/opus/opusproperties.cpp
taglib/ogg/opus/opusproperties.h
taglib/ogg/speex/speexfile.cpp
taglib/ogg/speex/speexfile.h
taglib/ogg/speex/speexproperties.cpp
taglib/ogg/speex/speexproperties.h
taglib/ogg/vorbis/vorbisfile.cpp
taglib/ogg/vorbis/vorbisfile.h
taglib/ogg/vorbis/vorbisproperties.cpp
taglib/ogg/vorbis/vorbisproperties.h
taglib/riff/aiff/aifffile.cpp
taglib/riff/aiff/aifffile.h
taglib/riff/aiff/aiffproperties.cpp
taglib/riff/aiff/aiffproperties.h
taglib/riff/wav/infotag.h
taglib/riff/wav/wavfile.cpp
taglib/riff/wav/wavfile.h
taglib/riff/wav/wavproperties.cpp
taglib/riff/wav/wavproperties.h
taglib/s3m/s3mproperties.cpp
taglib/taglib_config.h.cmake
taglib/toolkit/tbytevector.cpp
taglib/toolkit/tfile.cpp
taglib/toolkit/tfile.h
taglib/toolkit/tfilestream.cpp
taglib/toolkit/trefcounter.cpp
taglib/toolkit/tstring.cpp
taglib/toolkit/tstring.h
taglib/toolkit/tutils.h
taglib/trueaudio/trueaudiofile.cpp
taglib/trueaudio/trueaudiofile.h
taglib/trueaudio/trueaudioproperties.cpp
taglib/trueaudio/trueaudioproperties.h
taglib/wavpack/wavpackfile.cpp
taglib/wavpack/wavpackfile.h
taglib/wavpack/wavpackproperties.cpp
taglib/wavpack/wavpackproperties.h
taglib/xm/xmproperties.cpp
taglib/xm/xmproperties.h
tests/CMakeLists.txt
tests/data/alaw.wav
tests/test_asf.cpp
tests/test_mp4.cpp
tests/test_ogg.cpp
tests/test_opus.cpp
tests/test_string.cpp
tests/test_wav.cpp
tests/test_wavpack.cpp
2015-08-10 00:40:22 +09:00
Tsuda Kageyu
11f4e4e1ca
Merge pull request #567 from TsudaKageyu/audioprop-wv
...
(wishlist) WavPack: AudioProperties improvements
2015-08-01 01:30:19 +09:00
Tsuda Kageyu
9759bd2dd7
Merge pull request #566 from TsudaKageyu/audioprop-tta
...
(wishlist) TrueAudio: AudioProperties improvements
2015-08-01 01:30:12 +09:00
Tsuda Kageyu
b28784538a
Merge pull request #565 from TsudaKageyu/audioprop-wav
...
(wishlist) WAV: AudioProperties improvements
2015-08-01 01:30:03 +09:00
Tsuda Kageyu
6a778751ee
Merge pull request #560 from TsudaKageyu/audioprop-mpeg
...
(wishlist) MPEG: AudioProperties improvements
2015-08-01 01:29:06 +09:00
Tsuda Kageyu
692ce897cb
Merge pull request #557 from TsudaKageyu/audioprop-flac
...
(wishlist) FLAC: AudioProperties improvements
2015-08-01 01:27:06 +09:00
Tsuda Kageyu
0ed1c29acc
Merge pull request #556 from TsudaKageyu/audioprop-asf
...
(wishlist) ASF: AudioProperties improvements
2015-08-01 01:26:52 +09:00
Tsuda Kageyu
3c59b7858a
Merge pull request #555 from TsudaKageyu/audioprop-ape
...
(wishlist) APE: AudioProperties improvements
2015-08-01 01:21:59 +09:00
Tsuda Kageyu
21412e2ba2
FLAC: AudioProperties improvements
...
Add lengthInSeconds(), lengthInMilliseconds() properties. (#503 )
Add bitsPerSample() property besides sampleWidth(). (#360 )
Remove some data members which are not needed to carry.
Add some tests for audio properties.
Add some supplementary comments.
2015-08-01 00:49:21 +09:00
Tsuda Kageyu
6f944b0291
Make FLAC::File tolerant to zero-sized padding blocks.
2015-07-29 20:52:56 +09:00
Tsuda Kageyu
91ed3548f1
ASF: Enable ASF::Properties to get the audio codec information.
2015-06-21 02:42:47 +09:00
Tsuda Kageyu
2155b4fd50
TrueAudio: A bit more accurate calculation of the stream length.
2015-06-20 17:36:00 +09:00
Tsuda Kageyu
8f6af3f020
WavPack: A bit more accurate calculation of the stream length.
2015-06-18 18:00:03 +09:00
Tsuda Kageyu
22f250eaa4
WavPack: AudioProperties improvements
...
Add lengthInSeconds(), lengthInMilliseconds() properties. (#503 )
Add isLossless() property.
Support multi channel. (#92 )
Remove some data members which are not needed to carry.
Add some tests for audio properties.
Add some supplementary comments.
2015-06-18 17:59:06 +09:00
Tsuda Kageyu
ed25204d75
WAV: AudioProperties improvements
...
Add lengthInSeconds(), lengthInMilliseconds() properties. (#503 )
Add bitsPerSample() property besides sampleWidth(). (#360 )
Add format() property. (#360 )
Add some tests for audio properties.
Add some supplementary comments.
2015-06-18 17:43:09 +09:00
Tsuda Kageyu
9ec6d28239
MPEG: AudioProperties improvements
...
Add lengthInSeconds(), lengthInMilliseconds() properties. (#503 )
Support VBRI header in addition to Xing. (#136 )
Fix MPEG frame seeker functions. (maybe #190 )
Calculate MPEG frame length accurately.
Remove some data members which are not needed to carry.
Add some tests for audio properties.
Add some supplementary comments.
2015-06-18 17:14:04 +09:00
Tsuda Kageyu
f15fe869a5
Add a test for APE files with an ID3v2 tag.
2015-06-18 14:41:37 +09:00
Tsuda Kageyu
125d887b85
APE: Use the audio stream length in calculating the bit rate.
2015-06-18 14:41:37 +09:00
Tsuda Kageyu
9a8e41b9d6
APE: AudioProperties improvements
...
Add lengthInSeconds(), lengthInMilliseconds() properties. (#503 )
Enable to read bit depth from older version files. (#360 )
Remove some data members which are not needed to carry.
Add some tests for audio properties.
Add some supplementary comments.
2015-06-18 14:41:37 +09:00
Tsuda Kageyu
618a939c56
Fix MPEG::File::firstFrameOffset() and lastFrameOffset(). ( #190 )
2015-05-25 02:41:27 +09:00
Tsuda Kageyu
3094540a4b
Avoid an infinite loop when reading fuzzed WavPack files. ( #482 )
2015-05-22 14:15:10 +09:00
Stephen F. Booth
066b5aa57e
Merge pull request #492 from TsudaKageyu/duplicate-id3v2-aiff-wav
...
Check AIFF/WAV files for duplicate tags.
2015-03-25 08:16:41 -04:00
Tsuda Kageyu
b69973bcf2
Fix infinite loops when parsing MP4 files.
2015-02-18 11:33:10 +09:00
Tsuda Kageyu
30eac7569f
Check AIFF/WAV files for duplicate tags.
...
AIFF/WAV files can have duplicate tags and it leads to memory leak.
2015-02-18 11:31:55 +09:00
Tsuda Kageyu
8e35b43e32
Merge branch 'master' into merge-master-to-taglib2
...
Conflicts:
ConfigureChecks.cmake
config.h.cmake
taglib/CMakeLists.txt
taglib/ape/apeproperties.cpp
taglib/fileref.cpp
taglib/mp4/mp4atom.cpp
taglib/mpc/mpcproperties.cpp
taglib/mpeg/id3v2/frames/chapterframe.cpp
taglib/mpeg/id3v2/frames/tableofcontentsframe.cpp
taglib/mpeg/id3v2/id3v2frame.cpp
taglib/mpeg/id3v2/id3v2framefactory.cpp
taglib/mpeg/id3v2/id3v2tag.cpp
taglib/mpeg/mpegfile.cpp
taglib/mpeg/mpegfile.h
taglib/riff/aiff/aifffile.cpp
taglib/riff/aiff/aiffproperties.cpp
taglib/riff/aiff/aiffproperties.h
taglib/riff/wav/infotag.cpp
taglib/riff/wav/wavfile.cpp
taglib/riff/wav/wavproperties.cpp
taglib/toolkit/tdebug.cpp
taglib/toolkit/tstring.cpp
taglib/toolkit/tutils.h
tests/test_aiff.cpp
tests/test_id3v2.cpp
tests/test_wav.cpp
2015-02-18 10:07:08 +09:00
Tsuda Kageyu
e463d14f2e
Check for EOF to fix a segfault while parsing fuzzed MPC files.
2015-02-17 01:22:39 +09:00
Tsuda Kageyu
829ae2112a
Check the packet size to fix a segfault error while parsing fuzzed MPC files.
2015-02-17 01:22:39 +09:00
Tsuda Kageyu
65664e6855
Check for EOF to fix an infinite loop while parsing fuzzed MPC files.
2015-02-17 01:22:39 +09:00
Tsuda Kageyu
2193d6dd84
Fix an out-of-bounds access and consequent errors while parsing fuzzed MPC files.
...
Consequent errors may vary: segfault, zerodiv and so forth.
2015-02-17 01:22:38 +09:00