decord/source/__polyfill/05xxx/module_5387.js
github-actions 8d58bae3b2 chore: update source for alpha 347.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
2026-09-18 06:58:00 +00:00

31 lines
695 B
JavaScript

// Module ID: 5387
// Function ID: 5388
// Dependencies: [5388, 5386]
// Module 5387
import _modDef5386 from "module_5386" /* 5386 */;
import _modDef5388 from "module_5388" /* 5388 */;
importDefault = arg2;
const dependencyMap = arg6;
export default {
isTiffFile(byteLength) {
let tmp = byteLength;
if (tmp) {
tmp = byteLength.byteLength >= 4;
}
if (tmp) {
const uint16 = byteLength.getUint16(0);
tmp = byteLength.getUint16(2, uint16 === _modDef5388.LITTLE_ENDIAN) === 42;
}
return tmp;
},
findTiffOffsets() {
if (_modDef5386.USE_EXIF) {
return { hasAppMarkers: true, tiffHeaderOffset: 0 };
} else {
return {};
}
}
};