Commit 479c1102 authored by mstorsjo's avatar mstorsjo

Remove a redundant null pointer check


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22679 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9b00c12f
......@@ -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) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment