]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/http.c
Merge commit 'f1d8763a02b5fce9a7d9789e049d74a45b15e1e8'
[ffmpeg] / libavformat / http.c
index 766cf8a34d390fe1dba1bbf208c140f142c6d6f3..576875f43a4a3e55f1bafaf7b28c044f183c011c 100644 (file)
@@ -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);
         }
     }