Correct aac frameSize

master
jcdr428 2019-11-30 18:31:28 +02:00 committed by GitHub
parent 9a3b206499
commit 651e777bbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ bool AACCodec::decodeFrame(uint8_t* buffer, uint8_t* end)
bits.skipBit(); /* copyright_identification_bit */
bits.skipBit(); /* copyright_identification_start */
// -- 32 bit getted
int frameSize = bits.getBits(13) >> 2; /* aac_frame_length */
int frameSize = bits.getBits(13); /* aac_frame_length */
//LTRACE(LT_DEBUG, 0, "decodec frame size: " << m_size);
int adts_buffer_fullness = bits.getBits(11); /* adts_buffer_fullness */
m_rdb = bits.getBits(2); /* number_of_raw_data_blocks_in_frame */