decoder/opus: make opus_sample_rate constexpr

This commit is contained in:
Max Kellermann 2013-10-24 20:14:47 +02:00
parent e4f41ff61d
commit f629eb8cb2

View File

@ -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