mirror of
https://git.um-react.app/um/cli.git
synced 2026-10-18 20:48:34 +00:00
feat(#2): support mflac2/mgg2 ext
This commit is contained in:
+2
-2
@@ -276,8 +276,8 @@ 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/Android also adds some extra suffix to ext:
|
||||||
extraExtSuffix := []string{"0", "1", "a", "h", "l", "m"}
|
extraExtSuffix := []string{"0", "1", "2", "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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user