diff --git a/plugins/channelrx/demoddatv/leansdr/dvbs2.h b/plugins/channelrx/demoddatv/leansdr/dvbs2.h index b89065505..03061a5c7 100644 --- a/plugins/channelrx/demoddatv/leansdr/dvbs2.h +++ b/plugins/channelrx/demoddatv/leansdr/dvbs2.h @@ -1610,13 +1610,13 @@ struct s2_frame_receiver : runnable float interp_match_sof(sampler_state *pss) { - std::complex symbols[pilot.LENGTH]; + std::vector> symbols(pilot.LENGTH); for (int i=0; igain; } - return match_ph_amp(sof.symbols, symbols, sof.LENGTH, pss); + return match_ph_amp(sof.symbols, symbols.data(), sof.LENGTH, pss); } // Estimate phase and amplitude from known symbols.