summaryrefslogtreecommitdiff
path: root/libavformat/httpauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/httpauth.c')
-rw-r--r--libavformat/httpauth.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/httpauth.c b/libavformat/httpauth.c
index d6ff6fdfd4..d82f3a98f1 100644
--- a/libavformat/httpauth.c
+++ b/libavformat/httpauth.c
@@ -143,9 +143,6 @@ static void choose_qop(char *qop, int size)
void ff_http_auth_handle_header(HTTPAuthState *state, const char *key,
const char *value)
{
- if (!state)
- return;
-
if (!strcmp(key, "WWW-Authenticate")) {
const char *p;
if (av_stristart(value, "Basic ", &p) &&