Revision f3bfe388 libavformat/rtsp.c

View differences:

libavformat/rtsp.c
327 327
            rtsp_st = st->priv_data;
328 328

  
329 329
            /* XXX: may need to add full url resolution */
330
            ff_url_split(proto, sizeof(proto), NULL, 0, NULL, 0,
330
            av_url_split(proto, sizeof(proto), NULL, 0, NULL, 0,
331 331
                         NULL, NULL, 0, p);
332 332
            if (proto[0] == '\0') {
333 333
                /* relative control URL */
......
1366 1366
redirect:
1367 1367
    rt->control_transport = RTSP_MODE_PLAIN;
1368 1368
    /* extract hostname and port */
1369
    ff_url_split(NULL, 0, auth, sizeof(auth),
1369
    av_url_split(NULL, 0, auth, sizeof(auth),
1370 1370
                 host, sizeof(host), &port, path, sizeof(path), s->filename);
1371 1371
    if (*auth) {
1372 1372
        av_strlcpy(rt->auth, auth, sizeof(rt->auth));

Also available in: Unified diff