aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/decoder/mad_plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder/mad_plugin.c b/src/decoder/mad_plugin.c
index 2400f27d0..c6b9d32d3 100644
--- a/src/decoder/mad_plugin.c
+++ b/src/decoder/mad_plugin.c
@@ -320,16 +320,16 @@ parse_id3_replay_gain_info(struct id3_tag *tag)
id3_ucs4_latin1duplicate(id3_field_getstring
(&frame->fields[2]));
- if (strcasecmp(key, "replaygain_track_gain") == 0) {
+ if (g_ascii_strcasecmp(key, "replaygain_track_gain") == 0) {
replay_gain_info->tuples[REPLAY_GAIN_TRACK].gain = atof(value);
found = true;
- } else if (strcasecmp(key, "replaygain_album_gain") == 0) {
+ } else if (g_ascii_strcasecmp(key, "replaygain_album_gain") == 0) {
replay_gain_info->tuples[REPLAY_GAIN_ALBUM].gain = atof(value);
found = true;
- } else if (strcasecmp(key, "replaygain_track_peak") == 0) {
+ } else if (g_ascii_strcasecmp(key, "replaygain_track_peak") == 0) {
replay_gain_info->tuples[REPLAY_GAIN_TRACK].peak = atof(value);
found = true;
- } else if (strcasecmp(key, "replaygain_album_peak") == 0) {
+ } else if (g_ascii_strcasecmp(key, "replaygain_album_peak") == 0) {
replay_gain_info->tuples[REPLAY_GAIN_ALBUM].peak = atof(value);
found = true;
}