decord/source/__polyfill/05xxx/module_5267.js
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

31 lines
695 B
JavaScript

// Module ID: 5267
// Function ID: 5268
// Dependencies: [5268, 5266]
// Module 5267
import _modDef5266 from "module_5266" /* 5266 */;
import _modDef5268 from "module_5268" /* 5268 */;
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 === _modDef5268.LITTLE_ENDIAN) === 42;
}
return tmp;
},
findTiffOffsets() {
if (_modDef5266.USE_EXIF) {
return { hasAppMarkers: true, tiffHeaderOffset: 0 };
} else {
return {};
}
}
};