Revision f3bfe388 libavformat/utils.c

View differences:

libavformat/utils.c
3493 3493
    pkt_dump_internal(avcl, NULL, level, pkt, dump_payload);
3494 3494
}
3495 3495

  
3496
#if LIBAVFORMAT_VERSION_MAJOR < 53
3497
attribute_deprecated
3496 3498
void ff_url_split(char *proto, int proto_size,
3497 3499
                  char *authorization, int authorization_size,
3498 3500
                  char *hostname, int hostname_size,
......
3500 3502
                  char *path, int path_size,
3501 3503
                  const char *url)
3502 3504
{
3505
    av_url_split(proto, proto_size,
3506
                 authorization, authorization_size,
3507
                 hostname, hostname_size,
3508
                 port_ptr,
3509
                 path, path_size,
3510
                 url);
3511
}
3512
#endif
3513

  
3514
void av_url_split(char *proto, int proto_size,
3515
                  char *authorization, int authorization_size,
3516
                  char *hostname, int hostname_size,
3517
                  int *port_ptr,
3518
                  char *path, int path_size,
3519
                  const char *url)
3520
{
3503 3521
    const char *p, *ls, *at, *col, *brk;
3504 3522

  
3505 3523
    if (port_ptr)               *port_ptr = -1;

Also available in: Unified diff