1
0
Fork 0
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:
john 2022-12-13 00:42:46 +08:00 committed by GitHub
parent 61d3815fdf
commit d1bc155c8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,7 @@ The changelog for SRS.
## SRS 5.0 Changelog ## SRS 5.0 Changelog
* v5.0, 2022-12-12, Merge [#3301](https://github.com/ossrs/srs/pull/3301): DASH: Fix dash crash bug when writing file. v5.0.108
* v5.0, 2022-12-09, Merge [#3296](https://github.com/ossrs/srs/pull/3296): SRT: Support SRT to RTMP to WebRTC. v5.0.107 * v5.0, 2022-12-09, Merge [#3296](https://github.com/ossrs/srs/pull/3296): SRT: Support SRT to RTMP to WebRTC. v5.0.107
* v5.0, 2022-12-08, Merge [#3295](https://github.com/ossrs/srs/pull/3295): API: Parse fragment of URI. v5.0.106 * v5.0, 2022-12-08, Merge [#3295](https://github.com/ossrs/srs/pull/3295): API: Parse fragment of URI. v5.0.106
* v5.0, 2022-12-04, Cygwin: Enable gb28181 for Windows. v5.0.105 * v5.0, 2022-12-04, Cygwin: Enable gb28181 for Windows. v5.0.105

View file

@ -458,7 +458,7 @@ void SrsDashController::on_unpublish()
srs_freep(err); srs_freep(err);
} }
if (acurrent->duration() > 0) { if (acurrent && acurrent->duration() > 0) {
afragments->append(acurrent); afragments->append(acurrent);
acurrent = NULL; acurrent = NULL;
} }

View file

@ -9,6 +9,6 @@
#define VERSION_MAJOR 5 #define VERSION_MAJOR 5
#define VERSION_MINOR 0 #define VERSION_MINOR 0
#define VERSION_REVISION 107 #define VERSION_REVISION 108
#endif #endif