"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tagutils/tagutils-aac.c" between
minidlna-1.1.4.tar.gz and minidlna-1.1.5.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-aac.c  (minidlna-1.1.4):tagutils-aac.c  (minidlna-1.1.5)
skipping to change at line 119 skipping to change at line 119
current_data[current_size - 8] = '\0'; current_data[current_size - 8] = '\0';
if(!memcmp(current_atom, "\xA9" "nam", 4)) if(!memcmp(current_atom, "\xA9" "nam", 4))
psong->title = strdup((char*)&current_data[16]); psong->title = strdup((char*)&current_data[16]);
else if(!memcmp(current_atom, "\xA9" "ART", 4) || else if(!memcmp(current_atom, "\xA9" "ART", 4) ||
!memcmp(current_atom, "\xA9" "art", 4)) !memcmp(current_atom, "\xA9" "art", 4))
psong->contributor[ROLE_ARTIST] = strdup((char*)& current_data[16]); psong->contributor[ROLE_ARTIST] = strdup((char*)& current_data[16]);
else if(!memcmp(current_atom, "\xA9" "alb", 4)) else if(!memcmp(current_atom, "\xA9" "alb", 4))
psong->album = strdup((char*)&current_data[16]); psong->album = strdup((char*)&current_data[16]);
else if(!memcmp(current_atom, "\xA9" "cmt", 4)) else if(!memcmp(current_atom, "\xA9" "cmt", 4))
psong->comment = strdup((char*)&current_data[16]) ; psong->comment = strdup((char*)&current_data[16]) ;
else if(!memcmp(current_atom, "aART", 4) ||
!memcmp(current_atom, "aart", 4))
psong->contributor[ROLE_ALBUMARTIST] = strdup((ch
ar*)&current_data[16]);
else if(!memcmp(current_atom, "\xA9" "dir", 4)) else if(!memcmp(current_atom, "\xA9" "dir", 4))
psong->contributor[ROLE_CONDUCTOR] = strdup((char *)&current_data[16]); psong->contributor[ROLE_CONDUCTOR] = strdup((char *)&current_data[16]);
else if(!memcmp(current_atom, "\xA9" "wrt", 4)) else if(!memcmp(current_atom, "\xA9" "wrt", 4))
psong->contributor[ROLE_COMPOSER] = strdup((char* )&current_data[16]); psong->contributor[ROLE_COMPOSER] = strdup((char* )&current_data[16]);
else if(!memcmp(current_atom, "\xA9" "grp", 4)) else if(!memcmp(current_atom, "\xA9" "grp", 4))
psong->grouping = strdup((char*)&current_data[16] ); psong->grouping = strdup((char*)&current_data[16] );
else if(!memcmp(current_atom, "\xA9" "gen", 4)) else if(!memcmp(current_atom, "\xA9" "gen", 4))
psong->genre = strdup((char*)&current_data[16]); psong->genre = strdup((char*)&current_data[16]);
else if(!memcmp(current_atom, "\xA9" "day", 4)) else if(!memcmp(current_atom, "\xA9" "day", 4))
psong->year = atoi((char*)&current_data[16]); psong->year = atoi((char*)&current_data[16]);
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS