From f629eb8cb21377612c5c4453f495e5102b8c4803 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 24 Oct 2013 20:14:47 +0200 Subject: [PATCH] decoder/opus: make opus_sample_rate constexpr --- src/decoder/OpusDecoderPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -static const opus_int32 opus_sample_rate = 48000; +static constexpr opus_int32 opus_sample_rate = 48000; gcc_pure static bool