diff options
author | Xin Li <delphij@google.com> | 2019-09-05 16:53:26 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-09-05 16:53:26 +0000 |
commit | d929f68a05f5cbdd812dca287c8115a39439acf1 (patch) | |
tree | fa62c4f58bc140ba5c0a27e2c913d3ea0a5bfe98 /libSBRdec/src/env_extr.cpp | |
parent | c2eb64586d6dfc0f067ea66631b38d1922a106ed (diff) | |
parent | a209adb315f970aa97044a82551a6f5617d61ded (diff) | |
download | fdk-aac-d929f68a05f5cbdd812dca287c8115a39439acf1.tar.gz fdk-aac-d929f68a05f5cbdd812dca287c8115a39439acf1.tar.bz2 fdk-aac-d929f68a05f5cbdd812dca287c8115a39439acf1.zip |
Merge "DO NOT MERGE - Merge Android 10 into master"
Diffstat (limited to 'libSBRdec/src/env_extr.cpp')
-rw-r--r-- | libSBRdec/src/env_extr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libSBRdec/src/env_extr.cpp b/libSBRdec/src/env_extr.cpp index c72a7b6..5b7a0b1 100644 --- a/libSBRdec/src/env_extr.cpp +++ b/libSBRdec/src/env_extr.cpp @@ -1152,6 +1152,10 @@ static int generateFixFixOnly(FRAME_INFO *hSbrFrameInfo, int tranPosInternal, int nEnv, i, tranIdx; const int *pTable; + if (tranPosInternal >= numberTimeSlots) { + return 0; + } + switch (numberTimeSlots) { case 8: pTable = FDK_sbrDecoder_envelopeTable_8[tranPosInternal]; |