mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
0237a337a0
@ -1 +1 @@
|
||||
Subproject commit 7dbbfc28b5dce9da4a0b27e63fdd04fbf0e6a691
|
||||
Subproject commit 8225192d05f058b02bcbd3847f392e0be0b59079
|
@ -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