]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/http.c
y41p encoder and decoder
[ffmpeg] / libavformat / http.c
index 2e4e8c235dd2b9b90b397dbe30219230c78dfaf8..5d19c6e007a2cfd02fb7aaa3541623653f98617c 100644 (file)
@@ -70,7 +70,7 @@ static const AVClass flavor ## _context_class = {\
     .item_name      = av_default_item_name,\
     .option         = options,\
     .version        = LIBAVUTIL_VERSION_INT,\
-};
+}
 
 HTTP_CLASS(http);
 HTTP_CLASS(https);
@@ -93,7 +93,7 @@ static int http_open_cnx(URLContext *h)
 {
     const char *path, *proxy_path, *lower_proto = "tcp", *local_path;
     char hostname[1024], hoststr[1024], proto[10];
-    char auth[1024], proxyauth[1024];
+    char auth[1024], proxyauth[1024] = "";
     char path1[1024];
     char buf[1024], urlbuf[1024];
     int port, use_proxy, err, location_changed = 0, redirects = 0;