diff options
Diffstat (limited to 'src/inputPlugins')
-rw-r--r-- | src/inputPlugins/flac_plugin.c | 4 | ||||
-rw-r--r-- | src/inputPlugins/ogg_plugin.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index dc92b801b..8ae631a97 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -470,7 +470,6 @@ MpdTag * flacMetadataDup(char * file, int * vorbisCommentFound) { dup = malloc(len+1); memcpy(dup,&(block->data.vorbis_comment.comments[offset].entry[pos]),len); dup[len] = '\0'; - stripReturnChar(dup); ret->artist = dup; } } @@ -484,7 +483,6 @@ MpdTag * flacMetadataDup(char * file, int * vorbisCommentFound) { dup = malloc(len+1); memcpy(dup,&(block->data.vorbis_comment.comments[offset].entry[pos]),len); dup[len] = '\0'; - stripReturnChar(dup); ret->album = dup; } } @@ -498,7 +496,6 @@ MpdTag * flacMetadataDup(char * file, int * vorbisCommentFound) { dup = malloc(len+1); memcpy(dup,&(block->data.vorbis_comment.comments[offset].entry[pos]),len); dup[len] = '\0'; - stripReturnChar(dup); ret->title = dup; } } @@ -512,7 +509,6 @@ MpdTag * flacMetadataDup(char * file, int * vorbisCommentFound) { dup = malloc(len+1); memcpy(dup,&(block->data.vorbis_comment.comments[offset].entry[pos]),len); dup[len] = '\0'; - stripReturnChar(dup); ret->track = dup; } } diff --git a/src/inputPlugins/ogg_plugin.c b/src/inputPlugins/ogg_plugin.c index 8e42dec55..369939b33 100644 --- a/src/inputPlugins/ogg_plugin.c +++ b/src/inputPlugins/ogg_plugin.c @@ -174,28 +174,24 @@ MpdTag * oggCommentsParse(char ** comments) { if(!ret) ret = newMpdTag(); if(!ret->artist) { ret->artist = strdup(temp); - stripReturnChar(ret->artist); } } else if((temp = ogg_parseComment(*comments,"title"))) { if(!ret) ret = newMpdTag(); if(!ret->title) { ret->title = strdup(temp); - stripReturnChar(ret->title); } } else if((temp = ogg_parseComment(*comments,"album"))) { if(!ret) ret = newMpdTag(); if(!ret->album) { ret->album = strdup(temp); - stripReturnChar(ret->album); } } else if((temp = ogg_parseComment(*comments,"tracknumber"))) { if(!ret) ret = newMpdTag(); if(!ret->track) { ret->track = strdup(temp); - stripReturnChar(ret->track); } } |