mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Suppressed a useless debug message in aiffproperties.cpp
This commit is contained in:
parent
60590c0a1a
commit
fde99fa2fb
@ -136,6 +136,9 @@ void RIFF::AIFF::AudioProperties::read(const ByteVector &data)
|
||||
d->bitrate = static_cast<int>((sampleRate * d->sampleWidth * d->channels) / 1000.0);
|
||||
d->length = d->sampleRate > 0 ? d->sampleFrames / d->sampleRate : 0;
|
||||
|
||||
if(data.size() == 18)
|
||||
return;
|
||||
|
||||
if(data.size() < 23) {
|
||||
debug("RIFF::AIFF::AudioProperties::read() - \"COMM\" chunk is too short for AIFF-C.");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user