mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 11:21:52 +00:00
fix fs not close,when dvr error (#1672)
This commit is contained in:
parent
80f315f1ae
commit
cd1513d6a3
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ srs_error_t SrsDvrSegmenter::close()
|
|||
|
||||
// Close the encoder, then close the fs object.
|
||||
if ((err = close_encoder()) != srs_success) {
|
||||
fs->close();
|
||||
return srs_error_wrap(err, "close encoder");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue