Revision f3bfe388 libavformat/tcp.c

View differences:

libavformat/tcp.c
45 45
    char hostname[1024],proto[1024],path[1024];
46 46
    char portstr[10];
47 47

  
48
    ff_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname),
48
    av_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname),
49 49
        &port, path, sizeof(path), uri);
50 50
    if (strcmp(proto,"tcp") || port <= 0 || port >= 65536)
51 51
        return AVERROR(EINVAL);

Also available in: Unified diff