Commit 41bf67ae authored by Warren Dukes's avatar Warren Dukes

we can't store more than 255 tag items per tag

git-svn-id: https://svn.musicpd.org/mpd/trunk@2592 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 91a621e0
......@@ -323,6 +323,9 @@ void addItemToMpdTagWithLen(MpdTag * tag, int itemType, char * value, int len) {
if(ignoreTagItems[itemType]) return;
if(!value || !len) return;
/* we can't hold more than 255 items */
if(tag->numOfItems == 255) return;
appendToTagItems(tag, itemType, value, len);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment