mirror of
https://github.com/taglib/taglib.git
synced 2025-11-10 19:56:27 -05:00
ID3v2: Address review comments
Change the size check to use isEmpty() as requested.
This commit is contained in:
committed by
Urs Fleisch
parent
d74689cb93
commit
4971f8fb03
@ -118,7 +118,7 @@ void OwnershipFrame::parseFields(const ByteVector &data)
|
||||
int pos = 0;
|
||||
|
||||
// Need at least 1 byte for the encoding
|
||||
if(data.size() - pos < 1) {
|
||||
if(data.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user