Commit 27293852 authored by Max Kellermann's avatar Max Kellermann

decoder/opus: move everything into anonymous namespace

parent a67b7266
...@@ -40,6 +40,8 @@ ...@@ -40,6 +40,8 @@
#include <string.h> #include <string.h>
namespace {
static constexpr opus_int32 opus_sample_rate = 48000; static constexpr opus_int32 opus_sample_rate = 48000;
/** /**
...@@ -511,6 +513,8 @@ static const char *const opus_mime_types[] = { ...@@ -511,6 +513,8 @@ static const char *const opus_mime_types[] = {
nullptr nullptr
}; };
} /* anonymous namespace */
const struct DecoderPlugin opus_decoder_plugin = { const struct DecoderPlugin opus_decoder_plugin = {
"opus", "opus",
mpd_opus_init, mpd_opus_init,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment