Skip to content

Commit

Permalink
Fix an assertion failure when encoding a particular input at specific…
Browse files Browse the repository at this point in the history
… bitrates
  • Loading branch information
mstorsjo committed Dec 20, 2017
1 parent 307a2d6 commit ee8df6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libAACenc/src/sf_estim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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])) {
Expand Down

0 comments on commit ee8df6b

Please sign in to comment.