decord/source/__polyfill/05xxx/module_5305.js
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

31 lines
695 B
JavaScript

// Module ID: 5305
// Function ID: 5306
// Dependencies: [5306, 5304]
// Module 5305
import _modDef5304 from "module_5304" /* 5304 */;
import _modDef5306 from "module_5306" /* 5306 */;
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 === _modDef5306.LITTLE_ENDIAN) === 42;
}
return tmp;
},
findTiffOffsets() {
if (_modDef5304.USE_EXIF) {
return { hasAppMarkers: true, tiffHeaderOffset: 0 };
} else {
return {};
}
}
};