Skip to content

Commit a6c926f

Browse files
committed
SRS5: FLV: Fix bug for header flag gussing. v5.0.119 (#939)
PICK 8a0ac8e
1 parent bec23fc commit a6c926f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

trunk/doc/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ The changelog for SRS.
2121

2222
## SRS 5.0 Changelog
2323

24+
* v5.0, 2022-12-26, For [#939](https://github.com/ossrs/srs/issues/939): FLV: Fix bug for header flag gussing. v5.0.119
2425
* v5.0, 2022-12-26, For [#296](https://github.com/ossrs/srs/issues/296): MP3: Convert RTMP(MP3) to WebRTC(OPUS). v5.0.118
2526
* v5.0, 2022-12-25, For [#296](https://github.com/ossrs/srs/issues/296): MP3: Support dump stream information. v5.0.117
2627
* v5.0, 2022-12-25, For [#296](https://github.com/ossrs/srs/issues/296): MP3: Support mp3 for RTMP/HLS/HTTP-FLV/HTTP-TS/HLS etc. v5.0.116

trunk/src/app/srs_app_http_stream.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ srs_error_t SrsFlvStreamEncoder::write_tags(SrsSharedPtrMessage** msgs, int coun
333333

334334
// For https://github.com/ossrs/srs/issues/939
335335
if (!header_written) {
336-
bool has_video = has_audio_; bool has_audio = has_video_;
336+
bool has_video = has_video_; bool has_audio = has_audio_;
337337

338338
// See https://github.com/ossrs/srs/issues/939#issuecomment-1351385460
339339
if (guess_has_av_) {

trunk/src/core/srs_core_version5.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
#define VERSION_MAJOR 5
1111
#define VERSION_MINOR 0
12-
#define VERSION_REVISION 118
12+
#define VERSION_REVISION 119
1313

1414
#endif

0 commit comments

Comments
 (0)