pcm/soxr: fix recipe parser

This commit is contained in:
Max Kellermann 2015-06-20 15:25:00 +02:00
parent 07c5d3277f
commit 2b0a127fa5

View File

@ -75,7 +75,7 @@ soxr_parse_quality(const char *quality)
return SOXR_DEFAULT_RECIPE;
for (const auto *i = soxr_quality_table; i->name != nullptr; ++i)
if (strcmp(i->name, "very high") == 0)
if (strcmp(i->name, quality) == 0)
return i->recipe;
return SOXR_INVALID_RECIPE;