diff options
-rw-r--r-- | src/input/input_cdda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c index baae34321..c1cfb3d67 100644 --- a/src/input/input_cdda.c +++ b/src/input/input_cdda.c @@ -1475,12 +1475,12 @@ static void _cdda_parse_cddb_info (cdda_input_plugin_t *this, char *buffer, char } } else if (sscanf (buffer, "DYEAR=%s", &buf[0]) == 1) { - char *pt = strrchr (buffer, '='); + char *pt = strchr (buffer, '='); if (pt && strlen (pt) == 5) this->cddb.disc_year = strdup (pt + 1); } else if(sscanf(buffer, "DGENRE=%s", &buf[0]) == 1) { - char *pt = strrchr(buffer, '='); + char *pt = strchr(buffer, '='); if (pt) this->cddb.disc_category = strdup (pt + 1); } |