mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(libretro-common) Cleanup
This commit is contained in:
parent
f7199e28de
commit
0c9a831bf3
@ -160,12 +160,11 @@ bool rarch_resampler_realloc(void **re, const rarch_resampler_t **backend,
|
|||||||
*backend = find_resampler_driver(ident);
|
*backend = find_resampler_driver(ident);
|
||||||
|
|
||||||
if (!resampler_append_plugs(re, backend, bw_ratio))
|
if (!resampler_append_plugs(re, backend, bw_ratio))
|
||||||
goto error;
|
{
|
||||||
|
if (!*re)
|
||||||
|
*backend = NULL;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
error:
|
|
||||||
if (!*re)
|
|
||||||
*backend = NULL;
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user