Revision f3bfe388 libavformat/udp.c

View differences:

libavformat/udp.c
266 266
    char hostname[256];
267 267
    int port;
268 268

  
269
    ff_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri);
269
    av_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri);
270 270

  
271 271
    /* set the destination address */
272 272
    s->dest_addr_len = udp_set_url(&s->dest_addr, hostname, port);
......
347 347
    }
348 348

  
349 349
    /* fill the dest addr */
350
    ff_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri);
350
    av_url_split(NULL, 0, NULL, 0, hostname, sizeof(hostname), &port, NULL, 0, uri);
351 351

  
352
    /* XXX: fix ff_url_split */
352
    /* XXX: fix av_url_split */
353 353
    if (hostname[0] == '\0' || hostname[0] == '?') {
354 354
        /* only accepts null hostname if input */
355 355
        if (flags & URL_WRONLY)

Also available in: Unified diff