mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 901527: null pointer when resetting a resampler r=roc
This commit is contained in:
parent
b2b84cb2fb
commit
96ed08b655
@ -74,6 +74,7 @@ int Resampler::Reset(int in_freq, int out_freq, ResamplerType type)
|
||||
if (state_)
|
||||
{
|
||||
speex_resampler_destroy(state_);
|
||||
state_ = NULL;
|
||||
}
|
||||
type_ = type;
|
||||
channels_ = channels;
|
||||
|
Loading…
Reference in New Issue
Block a user