Fix for infinite loop in drc selection process am: 6398ab8de5 am: 6bb106faaa am: c8a90c8a1f
Original change: 1440592
Change-Id: I7535dd2d17210ce9bb000609fd2e8bdd7d534d94
This commit is contained in:
commit
1eaddc69d3
1 changed files with 4 additions and 0 deletions
|
|
@ -997,6 +997,10 @@ WORD32 impd_manage_complexity(ia_drc_sel_pro_struct* pstr_drc_uni_sel_proc,
|
||||||
complexityDrcTotal *= freqNorm;
|
complexityDrcTotal *= freqNorm;
|
||||||
complexityEqTotal *= freqNorm;
|
complexityEqTotal *= freqNorm;
|
||||||
|
|
||||||
|
if ((complexityDrcTotal > complexitySupportedTotal) ||
|
||||||
|
(complexityEqTotal > complexitySupportedTotal))
|
||||||
|
return UNEXPECTED_ERROR;
|
||||||
|
|
||||||
if (numBandsTooLarge == 1) {
|
if (numBandsTooLarge == 1) {
|
||||||
if (pstr_drc_uni_sel_proc->uni_drc_sel_proc_output.sel_drc_set_ids[0] > 0) {
|
if (pstr_drc_uni_sel_proc->uni_drc_sel_proc_output.sel_drc_set_ids[0] > 0) {
|
||||||
err = impd_find_drc_instructions_uni_drc(
|
err = impd_find_drc_instructions_uni_drc(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue