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/rtmppkt.c | |
parent | dce375645945e31687493ebe82a7a89623e49bdc (diff) | |
download | ffmpeg-925e908bc7a3ddbd31f94ae9a67fbee170fef3d3.tar.gz |
avio: make url_write() internal.
Diffstat (limited to 'libavformat/rtmppkt.c')
-rw-r--r-- | libavformat/rtmppkt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c index ca2ce09ff9..63b0628799 100644 --- a/libavformat/rtmppkt.c +++ b/libavformat/rtmppkt.c @@ -215,15 +215,15 @@ int ff_rtmp_packet_write(URLContext *h, RTMPPacket *pkt, } prev_pkt[pkt->channel_id].extra = pkt->extra; - url_write(h, pkt_hdr, p-pkt_hdr); + ffurl_write(h, pkt_hdr, p-pkt_hdr); size = p - pkt_hdr + pkt->data_size; while (off < pkt->data_size) { int towrite = FFMIN(chunk_size, pkt->data_size - off); - url_write(h, pkt->data + off, towrite); + ffurl_write(h, pkt->data + off, towrite); off += towrite; if (off < pkt->data_size) { uint8_t marker = 0xC0 | pkt->channel_id; - url_write(h, &marker, 1); + ffurl_write(h, &marker, 1); size++; } } |