aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-04 23:53:50 +0200
committerMax Kellermann <max@duempel.org>2013-09-04 23:57:30 +0200
commit681d6bbdc565ce285f798d1d0c84756f86947f97 (patch)
treecf837527e0bfa55f6247156ed42e55dc396f6709 /src/decoder
parent867b82b6deaeb0ae0517f31d58f7f0e58aa48d91 (diff)
downloadmpd-681d6bbdc565ce285f798d1d0c84756f86947f97.tar.gz
mpd-681d6bbdc565ce285f798d1d0c84756f86947f97.tar.xz
mpd-681d6bbdc565ce285f798d1d0c84756f86947f97.zip
TagTable: un-inline the two functions
Reduce header dependencies.
Diffstat (limited to '')
-rw-r--r--src/decoder/FlacMetadata.cxx2
-rw-r--r--src/decoder/XiphTags.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/FlacMetadata.cxx b/src/decoder/FlacMetadata.cxx
index f53c36b54..f3b5ba81c 100644
--- a/src/decoder/FlacMetadata.cxx
+++ b/src/decoder/FlacMetadata.cxx
@@ -28,7 +28,7 @@
#include <glib.h>
#include <assert.h>
-#include <stdlib.h>
+#include <string.h>
static bool
flac_find_float_comment(const FLAC__StreamMetadata *block,
diff --git a/src/decoder/XiphTags.cxx b/src/decoder/XiphTags.cxx
index b2aa6e82d..b9958a19a 100644
--- a/src/decoder/XiphTags.cxx
+++ b/src/decoder/XiphTags.cxx
@@ -24,5 +24,5 @@ const struct tag_table xiph_tags[] = {
{ "tracknumber", TAG_TRACK },
{ "discnumber", TAG_DISC },
{ "album artist", TAG_ALBUM_ARTIST },
- { NULL, TAG_NUM_OF_ITEM_TYPES }
+ { nullptr, TAG_NUM_OF_ITEM_TYPES }
};