Revision 60f198a7 libavformat/httpauth.c
libavformat/httpauth.c | ||
---|---|---|
143 | 143 |
void ff_http_auth_handle_header(HTTPAuthState *state, const char *key, |
144 | 144 |
const char *value) |
145 | 145 |
{ |
146 |
if (!state) |
|
147 |
return; |
|
148 |
|
|
149 | 146 |
if (!strcmp(key, "WWW-Authenticate")) { |
150 | 147 |
const char *p; |
151 | 148 |
if (av_stristart(value, "Basic ", &p) && |
Also available in: Unified diff