1
0
Fork 0
forked from len0rd/rockbox

metadata: sid: allow RSIDs as well

cRSID also allows to play RSIDs (hence the name of the library). So,
allow them as well.

Change-Id: Iae8f0ac083ed714771767a4c23f5a09bad637208
This commit is contained in:
Wolfram Sang 2022-03-13 22:06:15 +01:00 committed by Solomon Peachy
parent 70ce734ece
commit 88f4f1c8d0

View file

@ -45,7 +45,7 @@ bool get_sid_metadata(int fd, struct mp3entry* id3)
return false;
}
if ((memcmp(buf, "PSID", 4) != 0))
if (memcmp(buf, "PSID", 4) != 0 && memcmp(buf, "RSID", 4) != 0)
{
return false;
}