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 4bb4d67b..e863a375 100644
--- a/taglib/mp4/mp4properties.cpp
+++ b/taglib/mp4/mp4properties.cpp
@@ -179,7 +179,7 @@ MP4::Properties::read(File *file, Atoms *atoms)
length = data.toLongLong(36U);
}
else {
- if(data.size() < 24 + 4) {
+ if(data.size() < 24 + 8) {
debug("MP4: Atom 'trak.mdia.mdhd' is smaller than expected");
return;
}