diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2022-03-13 22:06:15 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2023-02-07 09:19:32 -0500 |
commit | 88f4f1c8d087ac1a070f280abfb8afafd81a649d (patch) | |
tree | 9ca511de3395da9f6ddd9fed92edb71f29f5371d /lib | |
parent | 70ce734ecebaca83ef9c42447666837d3fbc028e (diff) | |
download | rockbox-88f4f1c8d087ac1a070f280abfb8afafd81a649d.tar.gz rockbox-88f4f1c8d087ac1a070f280abfb8afafd81a649d.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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbcodec/metadata/sid.c | 2 |
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) | |||
45 | return false; | 45 | return false; |
46 | } | 46 | } |
47 | 47 | ||
48 | if ((memcmp(buf, "PSID", 4) != 0)) | 48 | if (memcmp(buf, "PSID", 4) != 0 && memcmp(buf, "RSID", 4) != 0) |
49 | { | 49 | { |
50 | return false; | 50 | return false; |
51 | } | 51 | } |