aboutsummaryrefslogtreecommitdiffstats
path: root/libAACenc/src/line_pe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libAACenc/src/line_pe.cpp')
-rw-r--r--libAACenc/src/line_pe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libAACenc/src/line_pe.cpp b/libAACenc/src/line_pe.cpp
index e4dc957..f3c0dab 100644
--- a/libAACenc/src/line_pe.cpp
+++ b/libAACenc/src/line_pe.cpp
@@ -184,7 +184,7 @@ void FDKaacEnc_calcSfbPe(PE_CHANNEL_DATA *RESTRICT peChanData,
}
peChanData->sfbNActiveLines[sfbGrp+sfb] = nLines;
}
- else if( isBook[sfb] ) {
+ else if( isBook[sfbGrp+sfb] ) {
/* provide for cost of scale factor for Intensity */
INT delta = isScale[sfbGrp+sfb] - lastValIs;
lastValIs = isScale[sfbGrp+sfb];