bandlimited resampler: fix heap overflow at high playback rate
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 4 Oct 2009 09:22:37 +0000 (12:22 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 4 Oct 2009 09:22:37 +0000 (12:22 +0300)
commit4e0976c792dce30c92c54778ef6d139037f0bc7d
tree7d6c3a1b87a1f294dfa9ac529b59733c93a5605a
parentd123196ede8a2ccc836b973c1b80166e0195202d
bandlimited resampler: fix heap overflow at high playback rate

We simply make sure the buffer is big enough, instead of trying (and
failing) to guess the biggest possible size.
modules/audio_filter/resampler/bandlimited.c