1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

ignore when sps/pps consumed all frame.

This commit is contained in:
winlin 2015-03-26 11:07:45 +08:00
parent b319e9ff9c
commit 1401f2e0ab
2 changed files with 12 additions and 9 deletions

View file

@ -103,6 +103,7 @@ int SrsFlvEncoder::write_header(char flv_header[9])
return ret;
}
// previous tag size.
char pts[] = { (char)0x00, (char)0x00, (char)0x00, (char)0x00 };
if ((ret = _fs->write(pts, 4, NULL)) != ERROR_SUCCESS) {
return ret;