diff options
author | Clayton Smith <argilo@gmail.com> | 2023-12-28 11:45:49 -0500 |
---|---|---|
committer | Jeff Long <willcode4@gmail.com> | 2024-01-05 13:02:39 -0500 |
commit | c314c0c818619333b940a8c3df15fddf37c0e7f0 (patch) | |
tree | 9f1703a368a92470645534d69bcd322386257369 | |
parent | Set version to git. (diff) | |
download | gnuradio-c314c0c818619333b940a8c3df15fddf37c0e7f0.tar.xz gnuradio-c314c0c818619333b940a8c3df15fddf37c0e7f0.zip |
analog: Fix buffer overruns in AGC3
Signed-off-by: Clayton Smith <argilo@gmail.com>
(cherry picked from commit 5ce9ef7c333c004deec45cdad1440047615aad09)
Signed-off-by: Jeff Long <willcode4@gmail.com>
-rw-r--r-- | gr-analog/lib/agc3_cc_impl.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gr-analog/lib/agc3_cc_impl.cc b/gr-analog/lib/agc3_cc_impl.cc index f9793e1a2..2a1d84e12 100644 --- a/gr-analog/lib/agc3_cc_impl.cc +++ b/gr-analog/lib/agc3_cc_impl.cc @@ -56,8 +56,6 @@ agc3_cc_impl::agc3_cc_impl(float attack_rate, test_and_log_value_domain(iir_update_decim, "input power sampling stride"); d_iir_update_decim = iir_update_decim; set_output_multiple(iir_update_decim * 4); - const int alignment_multiple = volk_get_alignment() / sizeof(gr_complex); - set_alignment(std::max(1, alignment_multiple)); } agc3_cc_impl::~agc3_cc_impl() {} |