decord/source/module_4754.js

23 lines
482 B
JavaScript
Raw Normal View History

2026-07-21 22:01:30 +00:00
// Module ID: 4754
// Function ID: 41288
2026-07-20 16:05:17 +00:00
// Dependencies: []
2026-07-21 22:01:30 +00:00
// Module 4754
2026-07-20 16:05:17 +00:00
arg5.default = {
2026-07-21 22:01:30 +00:00
isAvifFile(getUint32) {
2026-07-20 16:05:17 +00:00
if (getUint32) {
const parseBoxResult = arg1(arg6[0]).parseBox(getUint32, 0);
let tmp5 = parseBoxResult;
if (parseBoxResult) {
2026-07-21 22:01:30 +00:00
tmp5 = "avif" === parseBoxResult.majorBrand;
2026-07-20 16:05:17 +00:00
}
return tmp5;
} else {
return false;
}
},
2026-07-21 22:01:30 +00:00
findAvifOffsets(byteLength) {
2026-07-20 16:05:17 +00:00
return arg1(arg6[0]).findOffsets(byteLength);
}
};