mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix build failed.
This commit is contained in:
parent
fa78cf3354
commit
3ed4aed824
4 changed files with 11 additions and 5 deletions
|
@ -1041,7 +1041,6 @@ srs_error_t srs_av_base64_encode(std::string plaintext, std::string& cipher)
|
|||
cipher.clear();
|
||||
|
||||
uint32_t val = 0;
|
||||
int di = 0;
|
||||
int si = 0;
|
||||
int n = (plaintext.length() / 3) * 3;
|
||||
uint8_t* p = (uint8_t*)plaintext.c_str();
|
||||
|
@ -1055,7 +1054,6 @@ srs_error_t srs_av_base64_encode(std::string plaintext, std::string& cipher)
|
|||
cipher += encoder[val&0x3f];
|
||||
|
||||
si += 3;
|
||||
di += 4;
|
||||
}
|
||||
|
||||
int remain = plaintext.length() - si;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue