diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 16:31:43 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | bc371aca468c3dd8d1a8cb2b44c99798f232b145 (patch) | |
tree | 00455bb9d3db8113fbc18b885deffef20752add8 /libavformat/rtmppkt.c | |
parent | 0589da0aa525e4ba7c554408339fa3e862402af5 (diff) | |
download | ffmpeg-bc371aca468c3dd8d1a8cb2b44c99798f232b145.tar.gz |
avio: make url_read() internal.
Diffstat (limited to 'libavformat/rtmppkt.c')
-rw-r--r-- | libavformat/rtmppkt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c index 7df3d52e7c..b979566972 100644 --- a/libavformat/rtmppkt.c +++ b/libavformat/rtmppkt.c @@ -25,6 +25,7 @@ #include "rtmppkt.h" #include "flv.h" +#include "url.h" void ff_amf_write_bool(uint8_t **dst, int val) { @@ -78,7 +79,7 @@ int ff_rtmp_packet_read(URLContext *h, RTMPPacket *p, enum RTMPPacketType type; int size = 0; - if (url_read(h, &hdr, 1) != 1) + if (ffurl_read(h, &hdr, 1) != 1) return AVERROR(EIO); size++; channel_id = hdr & 0x3F; |