Merge "Fix for OOB loudness eq instruction parsing" into pi-dev
am: c7c160e98c
Change-Id: I35dabd598e2e39d52c2ed7be72aca8f34af5fa8a
This commit is contained in:
commit
f3efd5a31b
1 changed files with 2 additions and 1 deletions
|
|
@ -1281,7 +1281,8 @@ WORD32 impd_parse_loud_eq_instructions(
|
|||
if (additional_eq_set_id_present) {
|
||||
additional_eq_set_id_cnt = impd_read_bits_buf(it_bit_buff, 6);
|
||||
if (it_bit_buff->error) return it_bit_buff->error;
|
||||
|
||||
if (additional_eq_set_id_cnt >= EQ_SET_ID_COUNT_MAX)
|
||||
return UNEXPECTED_ERROR;
|
||||
for (i = 0; i < additional_eq_set_id_cnt; i++) {
|
||||
loud_eq_instructions->eq_set_id[i + 1] =
|
||||
impd_read_bits_buf(it_bit_buff, 6);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue