mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-06-05 22:39:13 +02:00
Fix an assertion failure when encoding a particular input at specific bitrates
This commit is contained in:
@@ -533,6 +533,7 @@ static void FDKaacEnc_assimilateSingleScf(PSY_OUT_CHANNEL *psyOutChan,
|
||||
(scfAct > scfMin) &&
|
||||
(scfAct <= scfMin+MAX_SCF_DELTA) &&
|
||||
(scfAct >= scfMax-MAX_SCF_DELTA) &&
|
||||
(scfAct <= fixMin(scfMin,fixMin(*scfLast, *scfNext))+MAX_SCF_DELTA) &&
|
||||
(*scfLast != prevScfLast[sfbAct] ||
|
||||
*scfNext != prevScfNext[sfbAct] ||
|
||||
deltaPe < deltaPeLast[sfbAct])) {
|
||||
|
Reference in New Issue
Block a user