summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2022-03-13 22:06:15 +0100
committerSolomon Peachy <pizza@shaftnet.org>2023-02-07 09:19:32 -0500
commit88f4f1c8d087ac1a070f280abfb8afafd81a649d (patch)
tree9ca511de3395da9f6ddd9fed92edb71f29f5371d
parent70ce734ecebaca83ef9c42447666837d3fbc028e (diff)
downloadrockbox-88f4f1c8d0.tar.gz
rockbox-88f4f1c8d0.zip
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
-rw-r--r--lib/rbcodec/metadata/sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/metadata/sid.c b/lib/rbcodec/metadata/sid.c
index 3a276b3cde..951ed9b62f 100644
--- a/lib/rbcodec/metadata/sid.c
+++ b/lib/rbcodec/metadata/sid.c
@@ -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;
}