feat(qmc): improve m4a & mp4 sniff

This commit is contained in:
Unlock Music Dev committed 2022-12-06 21:47:33 +08:00
1 parent 2c378d4d46
commit e9e63ce175
4 files changed
+52 -9

No files matched your search

+1 -1
View File
@@ -186,7 +186,7 @@ func tryDecFile(inputFile string, outputDir string, allDec []common.NewDecoderFu
}
header := bytes.NewBuffer(nil)
_, err = io.CopyN(header, dec, 16)
_, err = io.CopyN(header, dec, 64)
if err != nil {
return fmt.Errorf("read header failed: %w", err)
}