Entity input: improved animation cache and rendering

This commit is contained in:
Ali
2022-06-24 02:06:02 +01:00
parent 0f1b382265
commit c112bc5146
37 changed files with 2557 additions and 383 deletions

View File

@@ -108,7 +108,7 @@ private final class MediaBoxFileMap {
return nil
}
if count < 0 || length < 4 + 4 + count * 2 * 4 {
if count < 0 || UInt64(length) < 4 + 4 + UInt64(count) * 2 * 4 {
return nil
}