Bugfix: Eliminate the redundant declaration of the _srs_rtc_manager variable. v5.0.169 v6.0.62#3699
Merged
winlinvip merged 7 commits intoossrs:developfrom Jul 26, 2023
Conversation
Collaborator
|
@feixintianxia There are additional duplicate extern variables in the same file. Should you remove them as well? |
Collaborator
|
Thank you very much, brother.
|
chundonglinlin
approved these changes
Jul 25, 2023
696833b to
0cf0456
Compare
696833b to
0cf0456
Compare
559ad91 to
0cf0456
Compare
Member
|
Test
|
winlinvip
reviewed
Jul 26, 2023
|
|
||
| #include <srs_protocol_kbps.hpp> | ||
|
|
||
| extern SrsPps* _srs_pps_snack2; |
Member
There was a problem hiding this comment.
Test translation
TRANS_BY_GPT3
Member
There was a problem hiding this comment.
Translation test
TRANS_BY_GPT3
winlinvip
reviewed
Jul 26, 2023
|
|
||
| extern SrsPps* _srs_pps_snack2; | ||
| extern SrsPps* _srs_pps_snack3; | ||
| extern SrsPps* _srs_pps_snack4; |
Member
There was a problem hiding this comment.
Test individual Review
TRANS_BY_GPT3
ad564a9 to
0cf0456
Compare
f1c14f6 to
0cf0456
Compare
f1c14f6 to
0cf0456
Compare
97c4804 to
0cf0456
Compare
winlinvip
pushed a commit
that referenced
this pull request
Jul 26, 2023
…ariable. v5.0.169 (#3699) It is advised to eliminate any instances of _srs_rtc_manager that occur multiple times. --------- Co-authored-by: john <hondaxiao@tencent.com> Co-authored-by: chundonglinlin <chundonglinlin@163.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It is advised to eliminate any instances of _srs_rtc_manager that occur multiple times.
Co-authored-by: john hondaxiao@tencent.com
Co-authored-by: chundonglinlin chundonglinlin@163.com