1
0
Fork 0
forked from len0rd/rockbox

When saving a .m3u8 playlist, include a byte order mark (BOM), as some applications require it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17786 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Magnus Holmgren 2008-06-24 20:44:45 +00:00
parent 349c14c26d
commit 82ed56bf59

View file

@ -3421,6 +3421,12 @@ int playlist_save(struct playlist_info* playlist, char *filename)
cpu_boost(true);
if (is_m3u8(path))
{
/* some applications require a BOM to read the file properly */
write(fd, BOM, BOM_SIZE);
}
index = playlist->first_index;
for (i=0; i<playlist->amount; i++)
{