aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec/src/block.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2016-04-09 05:44:33 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-04-09 05:44:33 +0000
commit3b6fe4a90f0e82094a7e5826bf0b3517faf9cfcc (patch)
tree359ed01256a717b0161bfba21783634f1250471a /libAACdec/src/block.cpp
parent4a5a256a01c0f6aa0ebd1b94bba77a70fcac75ee (diff)
parent3fbcee802021fc12db8fd6e9e346a2111fe333a9 (diff)
downloadfdk-aac-3b6fe4a90f0e82094a7e5826bf0b3517faf9cfcc.tar.gz
fdk-aac-3b6fe4a90f0e82094a7e5826bf0b3517faf9cfcc.tar.bz2
fdk-aac-3b6fe4a90f0e82094a7e5826bf0b3517faf9cfcc.zip
AAC/SBR decoder improvements and bugfixes am: 203e3f2
am: 3fbcee8 * commit '3fbcee802021fc12db8fd6e9e346a2111fe333a9': AAC/SBR decoder improvements and bugfixes Change-Id: Ic370a51ba08eb6079ab1b74413385e35bf29ecba
Diffstat (limited to 'libAACdec/src/block.cpp')
-rw-r--r--libAACdec/src/block.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libAACdec/src/block.cpp b/libAACdec/src/block.cpp
index 9d703cc..2965fa6 100644
--- a/libAACdec/src/block.cpp
+++ b/libAACdec/src/block.cpp
@@ -2,7 +2,7 @@
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
-© Copyright 1995 - 2013 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
+© Copyright 1995 - 2015 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION
@@ -324,11 +324,11 @@ AAC_DECODER_ERROR CBlock_ReadSectionData(HANDLE_FDK_BITSTREAM bs,
if (flags & AC_ER_HCR) {
/* HCR input (long) -- collecting sideinfo (for HCR-_long_ only) */
- pNumLinesInSec[numLinesInSecIdx] = BandOffsets[top] - BandOffsets[band];
- numLinesInSecIdx++;
if (numLinesInSecIdx >= MAX_SFB_HCR) {
return AAC_DEC_PARSE_ERROR;
}
+ pNumLinesInSec[numLinesInSecIdx] = BandOffsets[top] - BandOffsets[band];
+ numLinesInSecIdx++;
if (
(sect_cb == BOOKSCL) )
{