aboutsummaryrefslogtreecommitdiff
path: root/decoder/ixheaacd_main.h
diff options
context:
space:
mode:
authorRamesh Katuri <ramesh.katuri@ittiam.com>2018-10-15 14:39:48 +0530
committerRay Essick <essick@google.com>2018-10-22 18:45:39 -0700
commit90c18b01f1cdb7f08128db90d6923624458568b7 (patch)
treee340a26550b1e7a699b8c8a7e7f0e7b5350440b2 /decoder/ixheaacd_main.h
parent8523d7407a9bdc4f775c5e0da54f33a680b77865 (diff)
downloadlibxaac-90c18b01f1cdb7f08128db90d6923624458568b7.tar.gz
Fix for global buffer overflow in ixheaacd_tns_apply
Bug:117049089 Test: vendor, poc no longer reproduces Change-Id: I9cdd2030316a9858ad2fb845df5d2848d0c53787
Diffstat (limited to 'decoder/ixheaacd_main.h')
-rw-r--r--decoder/ixheaacd_main.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/decoder/ixheaacd_main.h b/decoder/ixheaacd_main.h
index 55b8eb3..fe6355b 100644
--- a/decoder/ixheaacd_main.h
+++ b/decoder/ixheaacd_main.h
@@ -180,9 +180,10 @@ typedef struct ia_usac_data_main_struct {
} ia_usac_data_struct;
-VOID ixheaacd_tns_apply(ia_usac_data_struct *usac_data, WORD32 *spec,
- WORD32 nbands, ia_sfb_info_struct *pstr_sfb_info,
- ia_tns_frame_info_struct *pstr_tns);
+IA_ERRORCODE ixheaacd_tns_apply(ia_usac_data_struct *usac_data, WORD32 *spec,
+ WORD32 nbands,
+ ia_sfb_info_struct *pstr_sfb_info,
+ ia_tns_frame_info_struct *pstr_tns);
WORD32 ixheaacd_calc_max_spectral_line_dec(WORD32 *ptr_tmp, WORD32 size);