diff options
author | Max Kellermann <max@duempel.org> | 2014-12-09 21:56:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-09 21:56:22 +0100 |
commit | f52aefb34193cad315e283245c1ea9fb5b08fe4c (patch) | |
tree | 57bb4b4394bbc0103a73195bc928d229d4b78ba1 | |
parent | aecb5630cb7e43dbb3c9c3899f71be727c8d5b08 (diff) | |
download | mpd-f52aefb34193cad315e283245c1ea9fb5b08fe4c.tar.gz mpd-f52aefb34193cad315e283245c1ea9fb5b08fe4c.tar.xz mpd-f52aefb34193cad315e283245c1ea9fb5b08fe4c.zip |
decoder/ffmpeg: make the tag_table constexpr
-rw-r--r-- | src/decoder/plugins/FfmpegMetaData.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/FfmpegMetaData.cxx b/src/decoder/plugins/FfmpegMetaData.cxx index a39466945..c0d73c259 100644 --- a/src/decoder/plugins/FfmpegMetaData.cxx +++ b/src/decoder/plugins/FfmpegMetaData.cxx @@ -25,7 +25,7 @@ #include "tag/TagTable.hxx" #include "tag/TagHandler.hxx" -static const struct tag_table ffmpeg_tags[] = { +static constexpr struct tag_table ffmpeg_tags[] = { { "year", TAG_DATE }, { "author-sort", TAG_ARTIST_SORT }, { "album_artist", TAG_ALBUM_ARTIST }, |