comparison rtmpproto.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 bd851edc58ac
children fa244b4fe683
comparison
equal deleted inserted replaced
6181:cb49c916b7f4 6182:4fc5e0e4e1cd
811 if (!rt) 811 if (!rt)
812 return AVERROR(ENOMEM); 812 return AVERROR(ENOMEM);
813 s->priv_data = rt; 813 s->priv_data = rt;
814 rt->is_input = !(flags & URL_WRONLY); 814 rt->is_input = !(flags & URL_WRONLY);
815 815
816 ff_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname), &port, 816 av_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname), &port,
817 path, sizeof(path), s->filename); 817 path, sizeof(path), s->filename);
818 818
819 if (port < 0) 819 if (port < 0)
820 port = RTMP_DEFAULT_PORT; 820 port = RTMP_DEFAULT_PORT;
821 ff_url_join(buf, sizeof(buf), "tcp", NULL, hostname, port, NULL); 821 ff_url_join(buf, sizeof(buf), "tcp", NULL, hostname, port, NULL);