winlin

fix the hls bug

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