decoder/ffmpeg: make the tag_table constexpr

This commit is contained in:
Max Kellermann 2014-12-09 21:56:22 +01:00
parent aecb5630cb
commit f52aefb341
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
#include "tag/TagTable.hxx" #include "tag/TagTable.hxx"
#include "tag/TagHandler.hxx" #include "tag/TagHandler.hxx"
static const struct tag_table ffmpeg_tags[] = { static constexpr struct tag_table ffmpeg_tags[] = {
{ "year", TAG_DATE }, { "year", TAG_DATE },
{ "author-sort", TAG_ARTIST_SORT }, { "author-sort", TAG_ARTIST_SORT },
{ "album_artist", TAG_ALBUM_ARTIST }, { "album_artist", TAG_ALBUM_ARTIST },