Commit fd81e7e3 authored by Max Kellermann's avatar Max Kellermann

libsamplerate: use g_ascii_strncasecmp() instead of strncasecmp()

strncasecmp() is locale dependent, making it a bad choice for internal string comparisons.
parent 3db834f6
......@@ -65,7 +65,7 @@ static int pcm_resample_get_converter(void)
convalgo = SRC_SINC_FASTEST;
break;
}
if (strncasecmp(test2, conf, len) == 0)
if (g_ascii_strncasecmp(test2, conf, len) == 0)
goto out;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment