mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-05 12:56:52 +01:00
Update taglib
This commit is contained in:
parent
8b96bb5f27
commit
1ea7da4bb5
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user