diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-11-02 14:02:01 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2020-11-02 14:02:01 +0100 |
commit | 90101548ec43fd50ddc143eb0cbe99bdd0b47c6f (patch) | |
tree | 6a4a7eaa55a31a7d54eeb0c34ef9bf3ef4547b94 /src/dabplussnoop.cpp | |
parent | ea56f46c8f017ef98ae647abc99ceecba9dce1e1 (diff) | |
download | etisnoop-90101548ec43fd50ddc143eb0cbe99bdd0b47c6f.tar.gz etisnoop-90101548ec43fd50ddc143eb0cbe99bdd0b47c6f.tar.bz2 etisnoop-90101548ec43fd50ddc143eb0cbe99bdd0b47c6f.zip |
Improve FIG0/13, add 0/7, avoid int overflows
Diffstat (limited to 'src/dabplussnoop.cpp')
-rw-r--r-- | src/dabplussnoop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dabplussnoop.cpp b/src/dabplussnoop.cpp index f6bb8ac..2f28982 100644 --- a/src/dabplussnoop.cpp +++ b/src/dabplussnoop.cpp @@ -149,7 +149,7 @@ bool DabPlusSnoop::decode() m_ps_flag = (audio_params & 0x08) ? true : false; m_mpeg_surround_config = (audio_params & 0x07); - int num_aus; + int num_aus = 0; if (!m_dac_rate && m_sbr_flag) num_aus = 2; // AAC core sampling rate 16 kHz else if (m_dac_rate && m_sbr_flag) num_aus = 3; |