aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 09:38:29 +0200
committerEric Wong <normalperson@yhbt.net>2008-09-02 00:15:38 -0700
commit6aa1a7a2565bd1789fd34c7c71d5dbb34eaa1fee (patch)
tree8b6022cf1239a0a6962377827b1cb519b20f43ab /src/tag.h
parent323835240107ba08c080bbd8ed7aebe742fc4475 (diff)
downloadmpd-6aa1a7a2565bd1789fd34c7c71d5dbb34eaa1fee.tar.gz
mpd-6aa1a7a2565bd1789fd34c7c71d5dbb34eaa1fee.tar.xz
mpd-6aa1a7a2565bd1789fd34c7c71d5dbb34eaa1fee.zip
tag: converted MpdTag.items to a pointer list
This prepares the following patches, which aim to reduce MPD's memory usage: we plan to share tag_item instances, instead of just their values.
Diffstat (limited to 'src/tag.h')
-rw-r--r--src/tag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag.h b/src/tag.h
index f9a02d41a..4ee93ee1f 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -46,7 +46,7 @@ struct tag_item {
struct mpd_tag {
int time;
- struct tag_item *items;
+ struct tag_item **items;
mpd_uint8 numOfItems;
};