diff options
author | Max Kellermann <max@duempel.org> | 2013-10-24 20:14:47 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-24 20:14:47 +0200 |
commit | f629eb8cb21377612c5c4453f495e5102b8c4803 (patch) | |
tree | 1575a49caab8c6deb16113d24c385d08e3c73e66 /src | |
parent | e4f41ff61d0b5f2c78e1d65e87f52eeecfedb21d (diff) | |
download | mpd-f629eb8cb21377612c5c4453f495e5102b8c4803.tar.gz mpd-f629eb8cb21377612c5c4453f495e5102b8c4803.tar.xz mpd-f629eb8cb21377612c5c4453f495e5102b8c4803.zip |
decoder/opus: make opus_sample_rate constexpr
Diffstat (limited to '')
-rw-r--r-- | src/decoder/OpusDecoderPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/OpusDecoderPlugin.cxx b/src/decoder/OpusDecoderPlugin.cxx index ad2ee6297..10a3d0b83 100644 --- a/src/decoder/OpusDecoderPlugin.cxx +++ b/src/decoder/OpusDecoderPlugin.cxx @@ -41,7 +41,7 @@ #include <string.h> -static const opus_int32 opus_sample_rate = 48000; +static constexpr opus_int32 opus_sample_rate = 48000; gcc_pure static bool |