1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-03-18 00:20:04 +01:00

Fix for OPD smoothing in USAC decoder.

Bug: 145668878
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I075e3230d53c5a848f93541a9918c5bfaf2df725
This commit is contained in:
Fraunhofer IIS FDK 2019-10-29 13:11:02 +01:00 committed by Jean-Michel Trivi
parent 7104c00b44
commit 8cd3578cc6

View File

@ -1610,6 +1610,10 @@ static SACDEC_ERROR mapIndexData(
} /* for( i = 0 ; i < numParameterSets; i++ ) */
if (extendFrame) {
if (paramType == t_IPD) {
llData->bsQuantCoarseXXX[numParameterSets] =
llData->bsQuantCoarseXXX[numParameterSets - 1];
}
for (band = startBand; band < stopBand; band++) {
outputDataIdx[xttIdx][numParameterSets][band] =
outputDataIdx[xttIdx][numParameterSets - 1][band];