]> granicus.if.org Git - taglib/commit
Avoid using ByteVector::null where an empty vector is required.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Thu, 19 Nov 2015 01:52:46 +0000 (10:52 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Thu, 19 Nov 2015 01:52:46 +0000 (10:52 +0900)
commit539d95127775f8160185d3232853cce9c96ee552
treef5b3d542950addc735e4a5037441674db88f37e2
parent21788f4a2667695a2b57cb7463fa43f6b4539afb
Avoid using ByteVector::null where an empty vector is required.

ByteVector::null is not necessarily be empty or remains the same instance.
Using it in a public header may lead to a linkage error.
16 files changed:
taglib/asf/asffile.cpp
taglib/asf/asfpicture.cpp
taglib/mp4/mp4tag.cpp
taglib/mpeg/id3v2/id3v2frame.cpp
taglib/ogg/oggfile.cpp
taglib/riff/rifffile.cpp
taglib/toolkit/tbytevectorlist.cpp
taglib/toolkit/tbytevectorstream.cpp
taglib/toolkit/tfile.cpp
taglib/toolkit/tfile.h
taglib/toolkit/tfilestream.cpp
taglib/toolkit/tstring.cpp
tests/test_apetag.cpp
tests/test_bytevector.cpp
tests/test_bytevectorstream.cpp
tests/test_id3v2.cpp