decord/source/__polyfill/05xxx/module_5298.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

31 lines
695 B
JavaScript

// Module ID: 5298
// Function ID: 5299
// Dependencies: [5299, 5297]
// Module 5298
import _modDef5297 from "module_5297" /* 5297 */;
import _modDef5299 from "module_5299" /* 5299 */;
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 === _modDef5299.LITTLE_ENDIAN) === 42;
}
return tmp;
},
findTiffOffsets() {
if (_modDef5297.USE_EXIF) {
return { hasAppMarkers: true, tiffHeaderOffset: 0 };
} else {
return {};
}
}
};