diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-08-17 15:01:44 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2017-08-30 14:29:14 +0200 |
commit | 173b56218f39c6463be0e182259e2deead106936 (patch) | |
tree | 7227734f73f82e3560846c92ce9070117b1603a5 /libavformat/rtsp.c | |
parent | 5e3f6dc70198426fe0741e3017826b8bf3ee5ad8 (diff) |
lavf: make avio_read_partial() public
Main use-case is proxying avio through a foreign I/O layer and a custom
AVIO context, without losing latency and performance characteristics.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index fb6203d585..17a25a310e 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2077,7 +2077,7 @@ static int read_packet(AVFormatContext *s, wait_end && wait_end < av_gettime_relative()) len = AVERROR(EAGAIN); else - len = ffio_read_partial(s->pb, rt->recvbuf, RECVBUF_SIZE); + len = avio_read_partial(s->pb, rt->recvbuf, RECVBUF_SIZE); len = pick_stream(s, rtsp_st, rt->recvbuf, len); if (len > 0 && (*rtsp_st)->transport_priv && rt->transport == RTSP_TRANSPORT_RTP) ff_rtp_check_and_send_back_rr((*rtsp_st)->transport_priv, NULL, s->pb, len); |