mirror of
https://github.com/taglib/taglib.git
synced 2025-07-19 13:34:19 -04:00
Fix reading of WavPack streams without a length information in the header
When the WavPack's total_samples header fiels contains -1, try to find the final block and get the number of samples from there as block_index + block_samples. BUG:258016 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@1201476 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -12,7 +12,8 @@ INCLUDES = \
|
||||
-I$(top_srcdir)/taglib/flac \
|
||||
-I$(top_srcdir)/taglib/riff \
|
||||
-I$(top_srcdir)/taglib/riff/aiff \
|
||||
-I$(top_srcdir)/taglib/mpeg/id3v2/frames
|
||||
-I$(top_srcdir)/taglib/mpeg/id3v2/frames \
|
||||
-I$(top_srcdir)/taglib/wavpack
|
||||
|
||||
test_runner_SOURCES = \
|
||||
main.cpp \
|
||||
@ -32,7 +33,8 @@ test_runner_SOURCES = \
|
||||
test_aiff.cpp \
|
||||
test_ogg.cpp \
|
||||
test_oggflac.cpp \
|
||||
test_flac.cpp
|
||||
test_flac.cpp \
|
||||
test_wavpack.cpp
|
||||
|
||||
if build_tests
|
||||
TESTS = test_runner
|
||||
|
Reference in New Issue
Block a user