Skip to content

Commit

Permalink
fix fs not close,when dvr error (#1672)
Browse files Browse the repository at this point in the history
  • Loading branch information
x-falcon authored Mar 30, 2020
1 parent 80f315f commit cd1513d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trunk/src/app/srs_app_dvr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit cd1513d

Please # to comment.