libsamplerate: use g_ascii_strncasecmp() instead of strncasecmp()

strncasecmp() is locale dependent, making it a bad choice for internal
string comparisons.
This commit is contained in:
Max Kellermann 2009-04-28 09:42:05 +02:00
parent 3db834f6b3
commit fd81e7e3b6

View File

@ -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;
}