comparison utils.c @ 6182:4fc5e0e4e1cd libavformat

Make ff_url_split() public ff_url_split() is retained as an alias, as it was used by ffserver, to avoid breaking ABI compatibility with it.
author mru
date Sun, 27 Jun 2010 14:16:46 +0000
parents 4d1d3e0ba6d7
children 52bff8f1701f
comparison
equal deleted inserted replaced
6181:cb49c916b7f4 6182:4fc5e0e4e1cd
3491 void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload) 3491 void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload)
3492 { 3492 {
3493 pkt_dump_internal(avcl, NULL, level, pkt, dump_payload); 3493 pkt_dump_internal(avcl, NULL, level, pkt, dump_payload);
3494 } 3494 }
3495 3495
3496 #if LIBAVFORMAT_VERSION_MAJOR < 53
3497 attribute_deprecated
3496 void ff_url_split(char *proto, int proto_size, 3498 void ff_url_split(char *proto, int proto_size,
3499 char *authorization, int authorization_size,
3500 char *hostname, int hostname_size,
3501 int *port_ptr,
3502 char *path, int path_size,
3503 const char *url)
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,
3497 char *authorization, int authorization_size, 3515 char *authorization, int authorization_size,
3498 char *hostname, int hostname_size, 3516 char *hostname, int hostname_size,
3499 int *port_ptr, 3517 int *port_ptr,
3500 char *path, int path_size, 3518 char *path, int path_size,
3501 const char *url) 3519 const char *url)