X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fhttp.c;h=5d19c6e007a2cfd02fb7aaa3541623653f98617c;hb=dfa77dead2c97ec84092066102b14a2524d4d88b;hp=2e4e8c235dd2b9b90b397dbe30219230c78dfaf8;hpb=8e576d58306df95d6373dd0ca2c1f21f1afaeca9;p=ffmpeg diff --git a/libavformat/http.c b/libavformat/http.c index 2e4e8c235dd..5d19c6e007a 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -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;