diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-18 02:08:00 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-11-18 02:08:00 +0000 |
commit | e6fc6686b645f9fccaefb3cee563571344ec7b2e (patch) | |
tree | 73c3905e1fb2cc11b30be7d583bb500e2cef452d /encoder/ixheaace_write_adts_adif.c | |
parent | 68809fee6a051e4729360a217320da6fec700578 (diff) | |
parent | 49819412af46be1657ff041ca632d281acf9efac (diff) | |
download | libxaac-android14-qpr2-s2-release.tar.gz |
Snap for 11117647 from 49819412af46be1657ff041ca632d281acf9efac to 24Q1-releaseandroid-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-release
Change-Id: Ie58f8858306c59dae920e0c0b10f11021553a504
Diffstat (limited to 'encoder/ixheaace_write_adts_adif.c')
-rw-r--r-- | encoder/ixheaace_write_adts_adif.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/encoder/ixheaace_write_adts_adif.c b/encoder/ixheaace_write_adts_adif.c index e7f080d..2cda5bb 100644 --- a/encoder/ixheaace_write_adts_adif.c +++ b/encoder/ixheaace_write_adts_adif.c @@ -35,7 +35,7 @@ #include "ixheaac_basic_ops.h" #include "ixheaace_common_utils.h" -static WORD32 ia_enhaacplus_enc_putbit(ixheaace_bitstream_params *pstr_bitstream, UWORD32 data, +static VOID ia_enhaacplus_enc_putbit(ixheaace_bitstream_params *pstr_bitstream, UWORD32 data, WORD32 num_bit) { WORD32 num, max_num, curr_num; WORD32 num_used, idx; @@ -43,7 +43,7 @@ static WORD32 ia_enhaacplus_enc_putbit(ixheaace_bitstream_params *pstr_bitstream WORD32 current_bitstream_bit; UWORD8 *bitstream_data; - if (num_bit == 0) return 0; + if (num_bit == 0) return; current_bitstream_bit = pstr_bitstream->current_bit; bitstream_data = pstr_bitstream->data; @@ -99,8 +99,6 @@ static WORD32 ia_enhaacplus_enc_putbit(ixheaace_bitstream_params *pstr_bitstream pstr_bitstream->current_bit = current_bitstream_bit; pstr_bitstream->num_bit = current_bitstream_bit; - - return 0; } static WORD16 ia_enhaacplus_enc_get_sample_rate_index(WORD32 sample_rate) { |