mirror of
https://github.com/taglib/taglib.git
synced 2026-03-21 22:29:56 -04:00
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.
This commit is contained in:
@ -170,7 +170,7 @@ ByteVector Frame::frameID() const
|
||||
if(d->header)
|
||||
return d->header->frameID();
|
||||
else
|
||||
return ByteVector::null;
|
||||
return ByteVector();
|
||||
}
|
||||
|
||||
TagLib::uint Frame::size() const
|
||||
|
||||
Reference in New Issue
Block a user