Skip to content

Commit

Permalink
fix the hls bug
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jun 5, 2015
1 parent 4400b12 commit e4c27a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions trunk/src/app/srs_app_http_conn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e4c27a5

Please sign in to comment.