mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
http: dont null check p, its unneeded
Fixes CID747740 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b11a889055
commit
0a60f83075
@ -357,7 +357,7 @@ static int process_line(URLContext *h, char *line, int line_count,
|
||||
s->willclose = 1;
|
||||
} else if (!av_strcasecmp (tag, "Server") && !av_strcasecmp (p, "AkamaiGHost")) {
|
||||
s->is_akamai = 1;
|
||||
} else if (!av_strcasecmp (tag, "Content-Type") && p) {
|
||||
} else if (!av_strcasecmp (tag, "Content-Type")) {
|
||||
av_free(s->mime_type); s->mime_type = av_strdup(p);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user