Merge pull request 'fix: .mflacm support' (#117) from ccforeverd/cli:main into main

Reviewed-on: #117
This commit is contained in:
鲁树人 2025-02-18 11:07:38 +00:00
commit 380ed78b6b

View File

@ -263,7 +263,7 @@ func init() {
// New ogg/flac:
extraExtsCanHaveSuffix := []string{"mgg", "mflac"}
// Mac also adds some extra suffix to ext:
extraExtSuffix := []string{"0", "1", "a", "h", "l"}
extraExtSuffix := []string{"0", "1", "a", "h", "l", "m"}
for _, ext := range extraExtsCanHaveSuffix {
common.RegisterDecoder(ext, false, NewDecoder)
for _, suffix := range extraExtSuffix {