diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 16:48:01 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | 925e908bc7a3ddbd31f94ae9a67fbee170fef3d3 (patch) | |
tree | de510186fd62f65c2336a5cb2ef74b4aa0213147 /libavformat/rtspenc.c | |
parent | dce375645945e31687493ebe82a7a89623e49bdc (diff) | |
download | ffmpeg-925e908bc7a3ddbd31f94ae9a67fbee170fef3d3.tar.gz |
avio: make url_write() internal.
Diffstat (limited to 'libavformat/rtspenc.c')
-rw-r--r-- | libavformat/rtspenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c index 7f52b1fdb1..b4b26204f9 100644 --- a/libavformat/rtspenc.c +++ b/libavformat/rtspenc.c @@ -32,6 +32,7 @@ #include "avio_internal.h" #include "libavutil/intreadwrite.h" #include "libavutil/avstring.h" +#include "url.h" #define SDP_MAX_SIZE 16384 @@ -158,7 +159,7 @@ static int tcp_write_packet(AVFormatContext *s, RTSPStream *rtsp_st) interleave_header[0] = '$'; interleave_header[1] = id; AV_WB16(interleave_header + 2, packet_len); - url_write(rt->rtsp_hd_out, interleaved_packet, 4 + packet_len); + ffurl_write(rt->rtsp_hd_out, interleaved_packet, 4 + packet_len); ptr += packet_len; size -= packet_len; } |