fix: .mflacm support

This commit is contained in:
Zhang 2025-02-18 18:46:37 +08:00
parent 28ca8cef60
commit 208aceb1b5

View File

@ -263,7 +263,7 @@ func init() {
// New ogg/flac: // New ogg/flac:
extraExtsCanHaveSuffix := []string{"mgg", "mflac"} extraExtsCanHaveSuffix := []string{"mgg", "mflac"}
// Mac also adds some extra suffix to ext: // 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 { for _, ext := range extraExtsCanHaveSuffix {
common.RegisterDecoder(ext, false, NewDecoder) common.RegisterDecoder(ext, false, NewDecoder)
for _, suffix := range extraExtSuffix { for _, suffix := range extraExtSuffix {