Revision f7d78f36 libavformat/http.c

View differences:

libavformat/http.c
63 63

  
64 64
    proxy_path = getenv("http_proxy");
65 65
    use_proxy = (proxy_path != NULL) && !getenv("no_proxy") &&
66
        strstart(proxy_path, "http://", NULL);
66
        av_strstart(proxy_path, "http://", NULL);
67 67

  
68 68
    /* fill the dest addr */
69 69
 redo:
......
126 126
    h->priv_data = s;
127 127
    s->filesize = -1;
128 128
    s->off = 0;
129
    pstrcpy (s->location, URL_SIZE, uri);
129
    av_strlcpy(s->location, uri, URL_SIZE);
130 130

  
131 131
    ret = http_open_cnx(h);
132 132
    if (ret != 0)

Also available in: Unified diff