fix fs not close,when dvr error (#1672)
This commit is contained in:
parent
80f315f1ae
commit
cd1513d6a3
|
|
@ -180,6 +180,7 @@ srs_error_t SrsDvrSegmenter::close()
|
||||||
|
|
||||||
// Close the encoder, then close the fs object.
|
// Close the encoder, then close the fs object.
|
||||||
if ((err = close_encoder()) != srs_success) {
|
if ((err = close_encoder()) != srs_success) {
|
||||||
|
fs->close();
|
||||||
return srs_error_wrap(err, "close encoder");
|
return srs_error_wrap(err, "close encoder");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user