summaryrefslogtreecommitdiff
path: root/src/encoder
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-02-17 14:18:59 +0100
committerMax Kellermann <max@musicpd.org>2021-02-17 14:19:02 +0100
commit85adefd9a42e597ec0f06697c1676aae91249186 (patch)
treeb19fdb7d80d7b941d83b02f334f08d4d06f006ca /src/encoder
parent22804cfbe80e049698ad0fa29c8d4c79ba63cd91 (diff)
encoder/wave: remove `constexpr` because memcpy() is not allowed
Diffstat (limited to 'src/encoder')
-rw-r--r--src/encoder/plugins/WaveEncoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/plugins/WaveEncoderPlugin.cxx b/src/encoder/plugins/WaveEncoderPlugin.cxx
index 53b22da54..b224b11e9 100644
--- a/src/encoder/plugins/WaveEncoderPlugin.cxx
+++ b/src/encoder/plugins/WaveEncoderPlugin.cxx
@@ -63,7 +63,7 @@ struct WaveHeader {
static_assert(sizeof(WaveHeader) == 44);
-static constexpr WaveHeader
+static WaveHeader
MakeWaveHeader(int channels, int bits,
int freq, int block_size) noexcept
{