From 88f4f1c8d087ac1a070f280abfb8afafd81a649d Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Sun, 13 Mar 2022 22:06:15 +0100 Subject: 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 --- lib/rbcodec/metadata/sid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3