From 1ea7da4bb56f1f0e6cb43e063048c5d347a9a417 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 22 Mar 2019 23:12:59 +0100 Subject: [PATCH] Update taglib --- 3rdparty/taglib/mp4/mp4properties.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3rdparty/taglib/mp4/mp4properties.cpp b/3rdparty/taglib/mp4/mp4properties.cpp index 4bb4d67b..faa43c27 100644 --- a/3rdparty/taglib/mp4/mp4properties.cpp +++ b/3rdparty/taglib/mp4/mp4properties.cpp @@ -175,11 +175,11 @@ MP4::Properties::read(File *file, Atoms *atoms) debug("MP4: Atom 'trak.mdia.mdhd' is smaller than expected"); return; } - unit = data.toLongLong(28U); - length = data.toLongLong(36U); + unit = data.toUInt(28U); + length = data.toLongLong(32U); } else { - if(data.size() < 24 + 4) { + if(data.size() < 24 + 8) { debug("MP4: Atom 'trak.mdia.mdhd' is smaller than expected"); return; }