mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-27 04:20:13 +08:00
解决windows编译问题
This commit is contained in:
parent
fcbf7cb122
commit
7979fae23e
@ -228,9 +228,9 @@ bool RtspPlayer::handleAuthenticationFailure(const string ¶msStr) {
|
||||
return false;
|
||||
}
|
||||
|
||||
char realm[paramsStr.size()];
|
||||
char nonce[paramsStr.size()];
|
||||
char stale[paramsStr.size()];
|
||||
char realm[1024];
|
||||
char nonce[1024];
|
||||
char stale[1024];
|
||||
|
||||
if (sscanf(paramsStr.data(), "Digest realm=\"%[^\"]\", nonce=\"%[^\"]\", stale=%[a-zA-Z]", realm, nonce, stale) == 3) {
|
||||
(*this)[kRtspRealm] = realm;
|
||||
|
Loading…
Reference in New Issue
Block a user