1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00

fix crash

This commit is contained in:
chenhaibo 2023-04-10 17:24:18 +08:00
parent 91b9228569
commit 1668ba705c

View file

@ -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()) {