"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tagutils/tagutils-misc.c" between
minidlna-1.2.1.tar.gz and minidlna-1.3.0.tar.gz

About: ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.

tagutils-misc.c  (minidlna-1.2.1):tagutils-misc.c  (minidlna-1.3.0)
skipping to change at line 190 skipping to change at line 190
return utf8_text; return utf8_text;
} }
static void static void
vc_scan(struct song_metadata *psong, const char *comment, const size_t length) vc_scan(struct song_metadata *psong, const char *comment, const size_t length)
{ {
char strbuf[1024]; char strbuf[1024];
if(length > (sizeof(strbuf) - 1)) if(length > (sizeof(strbuf) - 1))
{ {
if( strncasecmp(comment, "LYRICS=", 7) != 0 ) if( strncasecmp(comment, "LYRICS=", 7) != 0 &&
strncasecmp(comment, "coverart=", 9) != 0 &&
strncasecmp(comment, "METADATA_BLOCK_PICTURE=", 23) != 0 )
{ {
const char *eq = strchr(comment, '='); const char *eq = strchr(comment, '=');
int len = 8; int len = 8;
if (eq) if (eq)
len = eq - comment; len = eq - comment;
DPRINTF(E_WARN, L_SCANNER, "Vorbis %.*s too long [%s]\n", DPRINTF(E_WARN, L_SCANNER, "Vorbis %.*s too long [%s]\n",
len, comment, psong->path); len, comment, psong->path);
} }
return; return;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)