Fix Decrypt Mflac Error

remotes/origin/HEAD 1.3.1
MengYX 5 years ago
parent ce251e3c9e
commit 179f72687a
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

@ -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