正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -393,7 +393,7 @@ int SrsRawAacStream::adts_demux(SrsStream* stream, char** pframe, int* pnb_frame | @@ -393,7 +393,7 @@ int SrsRawAacStream::adts_demux(SrsStream* stream, char** pframe, int* pnb_frame | ||
| 393 | // aac_frame_length 13 bslbf: Length of the frame including headers and error_check in bytes. | 393 | // aac_frame_length 13 bslbf: Length of the frame including headers and error_check in bytes. |
| 394 | // use the left 2bits as the 13 and 12 bit, | 394 | // use the left 2bits as the 13 and 12 bit, |
| 395 | // the aac_frame_length is 13bits, so we move 13-2=11. | 395 | // the aac_frame_length is 13bits, so we move 13-2=11. |
| 396 | - int16_t fh_aac_frame_length = (fh1 << 11) & 0x0800; | 396 | + int16_t fh_aac_frame_length = (fh1 << 11) & 0x1800; |
| 397 | 397 | ||
| 398 | int32_t fh2 = stream->read_3bytes(); | 398 | int32_t fh2 = stream->read_3bytes(); |
| 399 | // aac_frame_length 13 bslbf: consume the first 13-2=11bits | 399 | // aac_frame_length 13 bslbf: consume the first 13-2=11bits |
-
请 注册 或 登录 后发表评论