commit | fdeb26a3f59a71fa72d79a29c9f12e14b86076f7 | [log] [tgz] |
---|---|---|
author | Rajat Kumar <rajat.kumar@ittiam.com> | Wed Jan 29 10:14:18 2020 +0530 |
committer | Ray Essick <essick@google.com> | Sun Mar 29 17:08:20 2020 -0700 |
tree | 43a42426b65a70e181d2d68f08658d5e668c86cc | |
parent | 7862de4bd2688f8489fd8e04d0c607169c469e38 [diff] |
Fix for infinite loop in impd_apply_gains_and_add function if (iEnd == iStart) is true until end line of loop, and (drc_gain_last == shape_filter_block[g].drc_gain_last) is also true, this make iEnd unchanged for ever and the while loop will go into infinite iterations. Hence added a check to break for the same. Bug:148433653 Bug:151817831 Test:poc in bug Change-Id: I2a59cde98abee0f28510a5b50ef44b3efd02c079