summaryrefslogtreecommitdiff
path: root/libavformat/httpauth.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-03-25 21:53:42 +0000
committerMartin Storsjö <martin@martin.st>2010-03-25 21:53:42 +0000
commit60f198a77497f54fb12c2e048d64ce026c467812 (patch)
tree193c3caa028fb897342d1a70922b070ce9d503f1 /libavformat/httpauth.c
parent30af077942478b71823d4d04aeed2b8889e92c65 (diff)
Remove a redundant null pointer check
Originally committed as revision 22679 to svn://svn.ffmpeg.org/ffmpeg/trunk
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) &&