mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
fix crash
This commit is contained in:
parent
91b9228569
commit
1668ba705c
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ srs_error_t SrsHlsMuxer::restore_stream()
|
|||
}
|
||||
fr.close();
|
||||
|
||||
std::string body = fbuf;
|
||||
std::string body(fbuf, nb_fbuf);
|
||||
|
||||
// parse
|
||||
if (body.empty()) {
|
||||
|
|
Loading…
Reference in a new issue