summaryrefslogtreecommitdiff
path: root/libs/taglib/taglib/ogg/vorbis/vorbisproperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/taglib/taglib/ogg/vorbis/vorbisproperties.cpp')
-rw-r--r--libs/taglib/taglib/ogg/vorbis/vorbisproperties.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/taglib/taglib/ogg/vorbis/vorbisproperties.cpp b/libs/taglib/taglib/ogg/vorbis/vorbisproperties.cpp
index c82a3191f3..492a0fdccb 100644
--- a/libs/taglib/taglib/ogg/vorbis/vorbisproperties.cpp
+++ b/libs/taglib/taglib/ogg/vorbis/vorbisproperties.cpp
@@ -174,10 +174,12 @@ void Vorbis::Properties::read()
if(start >= 0 && end >= 0 && d->sampleRate > 0)
d->length = (end - start) / (long long) d->sampleRate;
- else
+ else {
debug("Vorbis::Properties::read() -- Either the PCM values for the start or "
"end of this file was incorrect or the sample rate is zero.");
+ }
}
- else
+ else {
debug("Vorbis::Properties::read() -- Could not find valid first and last Ogg pages.");
+ }
}