mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 03:40:43 +00:00
Cleanup stupid code.
This commit is contained in:
parent
70587bc0df
commit
884c113645
@ -48,10 +48,7 @@ static inline float hermite_kernel(float mu1, float a, float b, float c, float d
|
|||||||
|
|
||||||
hermite_resampler_t *hermite_new(void)
|
hermite_resampler_t *hermite_new(void)
|
||||||
{
|
{
|
||||||
hermite_resampler_t *re = (hermite_resampler_t*)calloc(1, sizeof(*re));
|
return (hermite_resampler_t*)calloc(1, sizeof(hermite_resampler_t));
|
||||||
if (!re)
|
|
||||||
return NULL;
|
|
||||||
return re;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We make sure to allocate enough output data beforehand ... ;)
|
// We make sure to allocate enough output data beforehand ... ;)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user