[FFmpeg-cvslog] r22679 - trunk/libavformat/httpauth.c
mstorsjo
subversion
Thu Mar 25 22:53:42 CET 2010
Author: mstorsjo
Date: Thu Mar 25 22:53:42 2010
New Revision: 22679
Log:
Remove a redundant null pointer check
Modified:
trunk/libavformat/httpauth.c
Modified: trunk/libavformat/httpauth.c
==============================================================================
--- trunk/libavformat/httpauth.c Thu Mar 25 22:49:43 2010 (r22678)
+++ trunk/libavformat/httpauth.c Thu Mar 25 22:53:42 2010 (r22679)
@@ -143,9 +143,6 @@ static void choose_qop(char *qop, int si
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) &&
More information about the ffmpeg-cvslog
mailing list