Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-02-04 14:42:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bdda337f330e7094ec9ffec181fdfeabb948e4a3
bdda337f
1 parent
0af6e5e8
fix aac adts bug, the frame length is 2bits.
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
trunk/src/protocol/srs_raw_avc.cpp
trunk/src/protocol/srs_raw_avc.cpp
查看文件 @
bdda337
...
...
@@ -393,7 +393,7 @@ int SrsRawAacStream::adts_demux(SrsStream* stream, char** pframe, int* pnb_frame
// aac_frame_length 13 bslbf: Length of the frame including headers and error_check in bytes.
// use the left 2bits as the 13 and 12 bit,
// the aac_frame_length is 13bits, so we move 13-2=11.
int16_t
fh_aac_frame_length
=
(
fh1
<<
11
)
&
0x
0
800
;
int16_t
fh_aac_frame_length
=
(
fh1
<<
11
)
&
0x
1
800
;
int32_t
fh2
=
stream
->
read_3bytes
();
// aac_frame_length 13 bslbf: consume the first 13-2=11bits
...
...
请
注册
或
登录
后发表评论