From 95f613481d03bdb7c8958b0d7b6ec0328695778a Mon Sep 17 00:00:00 2001 From: Emmm Monster <58943012+emmmx@users.noreply.github.com> Date: Sat, 26 Dec 2020 23:21:11 +0800 Subject: [PATCH] Unregister Raw Decoders --- algo/common/raw.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/algo/common/raw.go b/algo/common/raw.go index 28d3f06..fda4331 100644 --- a/algo/common/raw.go +++ b/algo/common/raw.go @@ -39,9 +39,9 @@ func DecoderFuncWithExt(ext string) NewDecoderFunc { } } func init() { - RegisterDecoder("mp3", DecoderFuncWithExt("mp3")) + /*RegisterDecoder("mp3", DecoderFuncWithExt("mp3")) RegisterDecoder("flac", DecoderFuncWithExt("flac")) RegisterDecoder("wav", DecoderFuncWithExt("wav")) RegisterDecoder("ogg", DecoderFuncWithExt("ogg")) - RegisterDecoder("m4a", DecoderFuncWithExt("m4a")) + RegisterDecoder("m4a", DecoderFuncWithExt("m4a"))*/ }