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; }