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:
parent
3db834f6b3
commit
fd81e7e3b6
@ -65,7 +65,7 @@ static int pcm_resample_get_converter(void)
|
|||||||
convalgo = SRC_SINC_FASTEST;
|
convalgo = SRC_SINC_FASTEST;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (strncasecmp(test2, conf, len) == 0)
|
if (g_ascii_strncasecmp(test2, conf, len) == 0)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user