aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-09 21:56:22 +0100
committerMax Kellermann <max@duempel.org>2014-12-09 21:56:22 +0100
commitf52aefb34193cad315e283245c1ea9fb5b08fe4c (patch)
tree57bb4b4394bbc0103a73195bc928d229d4b78ba1 /src/decoder/plugins
parentaecb5630cb7e43dbb3c9c3899f71be727c8d5b08 (diff)
downloadmpd-f52aefb34193cad315e283245c1ea9fb5b08fe4c.tar.gz
mpd-f52aefb34193cad315e283245c1ea9fb5b08fe4c.tar.xz
mpd-f52aefb34193cad315e283245c1ea9fb5b08fe4c.zip
decoder/ffmpeg: make the tag_table constexpr
Diffstat (limited to 'src/decoder/plugins')
-rw-r--r--src/decoder/plugins/FfmpegMetaData.cxx2
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 },