resampler.c - Fix 'delcaration shadows a variable in global scope'

This commit is contained in:
Twinaphex 2014-10-14 18:49:59 +02:00
parent 16a9cb338d
commit 1cde5270aa

View File

@ -36,11 +36,11 @@ static const struct resampler_config resampler_config = {
config_userdata_free,
};
static int find_resampler_driver_index(const char *driver)
static int find_resampler_driver_index(const char *drv)
{
unsigned i;
for (i = 0; resampler_drivers[i]; i++)
if (strcasecmp(driver, resampler_drivers[i]->ident) == 0)
if (strcasecmp(drv, resampler_drivers[i]->ident) == 0)
return i;
return -1;
}