summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--junklib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/junklib.c b/junklib.c
index d4eb1278..34bdfbe3 100644
--- a/junklib.c
+++ b/junklib.c
@@ -2545,7 +2545,7 @@ junk_id3v2_read_full (playItem_t *it, DB_id3v2_tag_t *tag_store, DB_FILE *fp) {
break;
}
char *text = convstr_id3v2 (version_major, readptr[0], readptr+1, synched_size-1);
- if (text && text_holders[f]) {
+ if (text && *text && text_holders[f]) {
if (*text_holders[f]) {
// append
char *new = junk_append_meta (*text_holders[f], text);
@@ -2647,7 +2647,7 @@ junk_id3v2_read_full (playItem_t *it, DB_id3v2_tag_t *tag_store, DB_FILE *fp) {
break;
}
char *text = convstr_id3v2 (version_major, readptr[0], readptr+1, synched_size-1);
- if (text && text_holders[f]) {
+ if (text && *text && text_holders[f]) {
if (*text_holders[f]) {
// append
char *new = junk_append_meta (*text_holders[f], text);