fix the hls bug

pull/444/head
winlin 10 years ago
parent 4400b12515
commit e4c27a51b8

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

Loading…
Cancel
Save