mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #263, srs-librtmp flv read tag should init size. 2.0.82
This commit is contained in:
parent
c1c01ec802
commit
518a5a72ab
3 changed files with 3 additions and 1 deletions
|
@ -316,6 +316,7 @@ int SrsFlvDecoder::read_tag_header(char* ptype, int32_t* pdata_size, u_int32_t*
|
|||
|
||||
// DataSize UI24
|
||||
char* pp = (char*)pdata_size;
|
||||
pp[3] = 0;
|
||||
pp[2] = th[1];
|
||||
pp[1] = th[2];
|
||||
pp[0] = th[3];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue