Browse Source

Fix Decrypt Mflac Error

20230320
MengYX 5 years ago
parent
commit
179f72687a
No known key found for this signature in database GPG Key ID: E63F9C7303E8F604
  1. 2
      src/decrypt/qmcMask.js

2
src/decrypt/qmcMask.js

@ -115,7 +115,7 @@ export function QmcMaskDetectMflac(data) {
for (let block_idx = 0; block_idx < search_len; block_idx += 128) { for (let block_idx = 0; block_idx < search_len; block_idx += 128) {
try { try {
mask = new QmcMask(data.slice(block_idx, block_idx + 128)); mask = new QmcMask(data.slice(block_idx, block_idx + 128));
if (!IsBytesEqual(FLAC_HEADER, mask.Decrypt(data.slice(0, FLAC_HEADER.length)))) break; if (IsBytesEqual(FLAC_HEADER, mask.Decrypt(data.slice(0, FLAC_HEADER.length)))) break;
} catch (e) { } catch (e) {
} }
} }

Loading…
Cancel
Save