Commit e813c93e authored by Max Kellermann's avatar Max Kellermann

decoder/mad: convert "const" to "constexpr"

parent 900c4977
...@@ -504,10 +504,10 @@ struct xing { ...@@ -504,10 +504,10 @@ struct xing {
enum xing_magic magic; /* header magic */ enum xing_magic magic; /* header magic */
}; };
static const unsigned XING_FRAMES = 1; static constexpr unsigned XING_FRAMES = 1;
static const unsigned XING_BYTES = 2; static constexpr unsigned XING_BYTES = 2;
static const unsigned XING_TOC = 4; static constexpr unsigned XING_TOC = 4;
static const unsigned XING_SCALE = 8; static constexpr unsigned XING_SCALE = 8;
struct lame_version { struct lame_version {
unsigned major; unsigned major;
......
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