aboutsummaryrefslogtreecommitdiffstats
path: root/dabp-decode/AACDecoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dabp-decode/AACDecoder.cpp')
-rw-r--r--dabp-decode/AACDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dabp-decode/AACDecoder.cpp b/dabp-decode/AACDecoder.cpp
index 6166560..6e6708a 100644
--- a/dabp-decode/AACDecoder.cpp
+++ b/dabp-decode/AACDecoder.cpp
@@ -44,7 +44,7 @@ void AACDecoder::decode_frame(uint8_t *data, size_t len)
const int core_ch_config = aac_channel_mode ? 2 : 1;
const int extension_sr_index = dac_rate ? 3 : 5; // 48/32 kHz
- int au_start[6] = {};
+ int au_start[7] = {};
int num_aus = dac_rate ? (sbr_flag ? 3 : 6) : (sbr_flag ? 2 : 4);
au_start[0] = dac_rate ? (sbr_flag ? 6 : 11) : (sbr_flag ? 5 : 8);