mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Remove a redundant null pointer check
Originally committed as revision 22679 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
30af077942
commit
60f198a774
@ -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) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user