1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

fix the hls bug

This commit is contained in:
winlin 2015-06-05 21:34:28 +08:00
parent 4400b12515
commit e4c27a51b8

View file

@ -2119,6 +2119,11 @@ int SrsHttpServer::hls_update_ts(SrsRequest* r, string uri, string ts)
return ret;
}
}
// find again, ignore if not exits.
if (shls.find(sid) == shls.end()) {
return ret;
}
SrsHlsEntry* entry = shls[sid];
srs_assert(entry);