diff options
| -rw-r--r-- | dabp-decode/AACDecoder.cpp | 2 | ||||
| -rw-r--r-- | dabp-decode/Makefile | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/dabp-decode/Makefile b/dabp-decode/Makefile index 9c3ed31..8800c6b 100644 --- a/dabp-decode/Makefile +++ b/dabp-decode/Makefile @@ -6,4 +6,4 @@ SRCS := main.cpp \ wavfile.h wavfile.cpp dabp-decoder: $(SRCS) - g++ -Wall -std=c++17 -fsanitize=address -lfdk-aac -o dabp-decoder AACDecoder.cpp wavfile.cpp main.cpp + g++ -g -Wall -std=c++17 -fsanitize=address -lfdk-aac -o dabp-decoder AACDecoder.cpp wavfile.cpp main.cpp |
