mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code, fix bug of hls, following jetbrains clion code-inspector. 0.9.215
This commit is contained in:
parent
4a323e64c4
commit
002facb85b
21 changed files with 73 additions and 84 deletions
|
@ -141,10 +141,10 @@ void SrsEncoder::clear_engines()
|
|||
|
||||
std::string output = ffmpeg->output();
|
||||
|
||||
std::vector<std::string>::iterator it;
|
||||
it = std::find(_transcoded_url.begin(), _transcoded_url.end(), output);
|
||||
if (it != _transcoded_url.end()) {
|
||||
_transcoded_url.erase(it);
|
||||
std::vector<std::string>::iterator tu_it;
|
||||
tu_it = std::find(_transcoded_url.begin(), _transcoded_url.end(), output);
|
||||
if (tu_it != _transcoded_url.end()) {
|
||||
_transcoded_url.erase(tu_it);
|
||||
}
|
||||
|
||||
srs_freep(ffmpeg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue