Update taglib
This commit is contained in:
6
3rdparty/taglib/mp4/mp4properties.cpp
vendored
6
3rdparty/taglib/mp4/mp4properties.cpp
vendored
@@ -175,11 +175,11 @@ MP4::Properties::read(File *file, Atoms *atoms)
|
|||||||
debug("MP4: Atom 'trak.mdia.mdhd' is smaller than expected");
|
debug("MP4: Atom 'trak.mdia.mdhd' is smaller than expected");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
unit = data.toLongLong(28U);
|
unit = data.toUInt(28U);
|
||||||
length = data.toLongLong(36U);
|
length = data.toLongLong(32U);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(data.size() < 24 + 4) {
|
if(data.size() < 24 + 8) {
|
||||||
debug("MP4: Atom 'trak.mdia.mdhd' is smaller than expected");
|
debug("MP4: Atom 'trak.mdia.mdhd' is smaller than expected");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user