diff --git a/audiofifo.go b/gmf/audiofifo.go similarity index 100% rename from audiofifo.go rename to gmf/audiofifo.go diff --git a/avio_go112.go b/gmf/avio_go112.go similarity index 100% rename from avio_go112.go rename to gmf/avio_go112.go diff --git a/avio_go16.go b/gmf/avio_go16.go similarity index 100% rename from avio_go16.go rename to gmf/avio_go16.go diff --git a/cgoMemory.go b/gmf/cgoMemory.go similarity index 100% rename from cgoMemory.go rename to gmf/cgoMemory.go diff --git a/cgoMemory_test.go b/gmf/cgoMemory_test.go similarity index 100% rename from cgoMemory_test.go rename to gmf/cgoMemory_test.go diff --git a/codec.go b/gmf/codec.go similarity index 100% rename from codec.go rename to gmf/codec.go diff --git a/codecCtx_go112.go b/gmf/codecCtx_go112.go similarity index 100% rename from codecCtx_go112.go rename to gmf/codecCtx_go112.go diff --git a/codecCtx_go16.go b/gmf/codecCtx_go16.go similarity index 100% rename from codecCtx_go16.go rename to gmf/codecCtx_go16.go diff --git a/codecCtx_test.go b/gmf/codecCtx_test.go similarity index 100% rename from codecCtx_test.go rename to gmf/codecCtx_test.go diff --git a/codecDesc.go b/gmf/codecDesc.go similarity index 100% rename from codecDesc.go rename to gmf/codecDesc.go diff --git a/codecDesc_test.go b/gmf/codecDesc_test.go similarity index 100% rename from codecDesc_test.go rename to gmf/codecDesc_test.go diff --git a/codecParam.go b/gmf/codecParam.go similarity index 100% rename from codecParam.go rename to gmf/codecParam.go diff --git a/codec_test.go b/gmf/codec_test.go similarity index 100% rename from codec_test.go rename to gmf/codec_test.go diff --git a/dict.go b/gmf/dict.go similarity index 100% rename from dict.go rename to gmf/dict.go diff --git a/example_encoding_test.go b/gmf/example_encoding_test.go similarity index 100% rename from example_encoding_test.go rename to gmf/example_encoding_test.go diff --git a/filter_go112.go b/gmf/filter_go112.go similarity index 100% rename from filter_go112.go rename to gmf/filter_go112.go diff --git a/filter_go16.go b/gmf/filter_go16.go similarity index 100% rename from filter_go16.go rename to gmf/filter_go16.go diff --git a/format_go112.go b/gmf/format_go112.go similarity index 100% rename from format_go112.go rename to gmf/format_go112.go diff --git a/format_go16.go b/gmf/format_go16.go similarity index 100% rename from format_go16.go rename to gmf/format_go16.go diff --git a/format_test.go b/gmf/format_test.go similarity index 100% rename from format_test.go rename to gmf/format_test.go diff --git a/frame_go112.go b/gmf/frame_go112.go similarity index 100% rename from frame_go112.go rename to gmf/frame_go112.go diff --git a/frame_go16.go b/gmf/frame_go16.go similarity index 100% rename from frame_go16.go rename to gmf/frame_go16.go diff --git a/imgutils.go b/gmf/imgutils.go similarity index 100% rename from imgutils.go rename to gmf/imgutils.go diff --git a/imgutils_test.go b/gmf/imgutils_test.go similarity index 100% rename from imgutils_test.go rename to gmf/imgutils_test.go diff --git a/io.go b/gmf/io.go similarity index 100% rename from io.go rename to gmf/io.go diff --git a/options.go b/gmf/options.go similarity index 100% rename from options.go rename to gmf/options.go diff --git a/options_test.go b/gmf/options_test.go similarity index 100% rename from options_test.go rename to gmf/options_test.go diff --git a/packet_go112.go b/gmf/packet_go112.go similarity index 100% rename from packet_go112.go rename to gmf/packet_go112.go diff --git a/packet_go16.go b/gmf/packet_go16.go similarity index 100% rename from packet_go16.go rename to gmf/packet_go16.go diff --git a/packet_test.go b/gmf/packet_test.go similarity index 100% rename from packet_test.go rename to gmf/packet_test.go diff --git a/samplefmt_go112.go b/gmf/samplefmt_go112.go similarity index 100% rename from samplefmt_go112.go rename to gmf/samplefmt_go112.go diff --git a/samplefmt_go16.go b/gmf/samplefmt_go16.go similarity index 100% rename from samplefmt_go16.go rename to gmf/samplefmt_go16.go diff --git a/stream.go b/gmf/stream.go similarity index 100% rename from stream.go rename to gmf/stream.go diff --git a/stream_test.go b/gmf/stream_test.go similarity index 100% rename from stream_test.go rename to gmf/stream_test.go diff --git a/swr.go b/gmf/swr.go similarity index 100% rename from swr.go rename to gmf/swr.go diff --git a/swr_test.go b/gmf/swr_test.go similarity index 100% rename from swr_test.go rename to gmf/swr_test.go diff --git a/sws_go112.go b/gmf/sws_go112.go similarity index 100% rename from sws_go112.go rename to gmf/sws_go112.go diff --git a/sws_go16.go b/gmf/sws_go16.go similarity index 100% rename from sws_go16.go rename to gmf/sws_go16.go diff --git a/sws_test.go b/gmf/sws_test.go similarity index 100% rename from sws_test.go rename to gmf/sws_test.go diff --git a/utils.go b/gmf/utils.go similarity index 100% rename from utils.go rename to gmf/utils.go diff --git a/utils_test.go b/gmf/utils_test.go similarity index 100% rename from utils_test.go rename to gmf/utils_test.go diff --git a/go.mod b/go.mod index a011dd5..4bb1f01 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/3d0c/gmf -go 1.12 +go 1.18 require github.com/stretchr/testify v1.7.1