diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 16:04:59 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:19 +0200 |
commit | 5652bb94719c0bb0c58f73e44531af9977493223 (patch) | |
tree | 4c9d488b2d072c63def12e5769c831536461abc7 /libavformat/rtsp.c | |
parent | 0d8a33b11e605f7fb6b51640d438d41fec08db1c (diff) | |
download | ffmpeg-5652bb94719c0bb0c58f73e44531af9977493223.tar.gz |
avio: make url_alloc internal.
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 90073d63a2..9d988a7923 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -42,6 +42,7 @@ #include "rdt.h" #include "rtpdec_formats.h" #include "rtpenc_chain.h" +#include "url.h" //#define DEBUG //#define DEBUG_RTP_TCP @@ -1395,7 +1396,7 @@ redirect: av_get_random_seed(), av_get_random_seed()); /* GET requests */ - if (url_alloc(&rt->rtsp_hd, httpname, URL_RDONLY) < 0) { + if (ffurl_alloc(&rt->rtsp_hd, httpname, URL_RDONLY) < 0) { err = AVERROR(EIO); goto fail; } @@ -1416,7 +1417,7 @@ redirect: } /* POST requests */ - if (url_alloc(&rt->rtsp_hd_out, httpname, URL_WRONLY) < 0 ) { + if (ffurl_alloc(&rt->rtsp_hd_out, httpname, URL_WRONLY) < 0 ) { err = AVERROR(EIO); goto fail; } |