diff options
author | Max <ikj1234i@yahoo.com> | 2017-11-22 18:57:41 -0500 |
---|---|---|
committer | Max <ikj1234i@yahoo.com> | 2017-11-22 18:57:41 -0500 |
commit | d6f3be0604fa6e63c582a97ce61440cba59a5455 (patch) | |
tree | af42eb83e2085b347398e4b5084a54b9dd45af18 /op25 | |
parent | 2d52d95a0a6e7709253aaf0c94ab20fb9f9db294 (diff) |
bugfix: uninitialized struct in d2460.cc
Diffstat (limited to 'op25')
-rw-r--r-- | op25/gr-op25_repeater/lib/d2460.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/op25/gr-op25_repeater/lib/d2460.cc b/op25/gr-op25_repeater/lib/d2460.cc index 655d6de..bf796b8 100644 --- a/op25/gr-op25_repeater/lib/d2460.cc +++ b/op25/gr-op25_repeater/lib/d2460.cc @@ -39,6 +39,7 @@ static software_imbe_decoder software_decoder; static p25p2_vf interleaver; static mbe_parms cur_mp; static mbe_parms prev_mp; +static mbe_parms enh_mp; static const Uns DV3K_START_BYTE = 0x61; enum @@ -142,6 +143,7 @@ static void vocoder_setup(void) { encoder.set_dstar_mode(); encoder.set_gain_adjust(GAIN_ADJUST); encoder.set_alt_dstar_interleave(true); + mbe_initMbeParms (&cur_mp, &prev_mp, &enh_mp); } static void dump(unsigned char *p, ssize_t n) |