pulsecore: Use pa_streq instead of strcmp.

This commit is contained in:
Arti Trivedi Bora 2012-06-06 01:28:14 +05:30 committed by Tanu Kaskinen
parent e5954aca8e
commit 96a52257a9
8 changed files with 27 additions and 22 deletions

View file

@ -110,13 +110,13 @@ pa_bool_t pa_cpu_init_arm(pa_cpu_arm_flag_t *flags) {
char *current;
while ((current = pa_split_spaces(line, &state))) {
if (!strcmp(current, "vfp"))
if (pa_streq(current, "vfp"))
*flags |= PA_CPU_ARM_VFP;
else if (!strcmp(current, "edsp"))
else if (pa_streq(current, "edsp"))
*flags |= PA_CPU_ARM_EDSP;
else if (!strcmp(current, "neon"))
else if (pa_streq(current, "neon"))
*flags |= PA_CPU_ARM_NEON;
else if (!strcmp(current, "vfpv3"))
else if (pa_streq(current, "vfpv3"))
*flags |= PA_CPU_ARM_VFPV3;
pa_xfree(current);