aboutsummaryrefslogtreecommitdiff
path: root/encoder/ixheaace_write_adts_adif.c
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-18 02:08:00 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-18 02:08:00 +0000
commite6fc6686b645f9fccaefb3cee563571344ec7b2e (patch)
tree73c3905e1fb2cc11b30be7d583bb500e2cef452d /encoder/ixheaace_write_adts_adif.c
parent68809fee6a051e4729360a217320da6fec700578 (diff)
parent49819412af46be1657ff041ca632d281acf9efac (diff)
downloadlibxaac-android14-qpr2-s2-release.tar.gz
Change-Id: Ie58f8858306c59dae920e0c0b10f11021553a504
Diffstat (limited to 'encoder/ixheaace_write_adts_adif.c')
-rw-r--r--encoder/ixheaace_write_adts_adif.c6
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) {