mirror of
https://git.um-react.app/um/cli.git
synced 2026-11-25 14:56:59 +00:00
feat(qmc): improve m4a & mp4 sniff
This commit is contained in:
4 files changed
+52
-9
No files matched your search
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user