mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
DASH: Fix dash crash bug when writing file. v5.0.108 (#3301)
Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
61d3815fdf
commit
d1bc155c8b
3 changed files with 3 additions and 2 deletions
|
@ -458,7 +458,7 @@ void SrsDashController::on_unpublish()
|
|||
srs_freep(err);
|
||||
}
|
||||
|
||||
if (acurrent->duration() > 0) {
|
||||
if (acurrent && acurrent->duration() > 0) {
|
||||
afragments->append(acurrent);
|
||||
acurrent = NULL;
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 107
|
||||
#define VERSION_REVISION 108
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue