projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix AFL position
[ardour.git]
/
libs
/
vamp-plugins
/
TruePeak.cpp
diff --git
a/libs/vamp-plugins/TruePeak.cpp
b/libs/vamp-plugins/TruePeak.cpp
index 44de93d6811c5b00460874589221f65103df154f..3d6c12ee2a7ab4b8af33356ff7b31691fe67402a 100644
(file)
--- a/
libs/vamp-plugins/TruePeak.cpp
+++ b/
libs/vamp-plugins/TruePeak.cpp
@@
-219,8
+219,10
@@
Resampler::setup (unsigned int fs_inp,
_inmax = k;
_pstep = s;
return reset ();
+ } else {
+ delete[] B;
+ return 1;
}
- else return 1;
}
void
@@
-369,6
+371,7
@@
TruePeakdsp::TruePeakdsp (void)
: _m (0)
, _p (0)
, _res (true)
+ , _res_peak (true)
, _buf (NULL)
{
}