aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--taglib/mp4/mp4properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/taglib/mp4/mp4properties.cpp b/taglib/mp4/mp4properties.cpp
index 261d58ae..26051a76 100644
--- a/taglib/mp4/mp4properties.cpp
+++ b/taglib/mp4/mp4properties.cpp
@@ -199,7 +199,7 @@ MP4::AudioProperties::read(File *file, Atoms *atoms)
length = data.toInt64BE(32);
}
else {
- if(data.size() < 24 + 4) {
+ if(data.size() < 24 + 8) {
debug("MP4: Atom 'trak.mdia.mdhd' is smaller than expected");
return;
}