aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-08-17 15:01:44 +0200
committerwm4 <nfxjfg@googlemail.com>2017-09-01 17:56:33 +0200
commit5d76674756806e3b458e484788775fcee34aac2a (patch)
tree8565294bfa35d9205266e12d55fadf86926f0de4 /libavformat/rtsp.c
parent877076ffa17bcf56badedc036cdc1adcd9f38b24 (diff)
downloadffmpeg-5d76674756806e3b458e484788775fcee34aac2a.tar.gz
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> Merged from Libav commit 173b56218f39c64.
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 261e970b75..0bd72dc5ce 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -2136,7 +2136,7 @@ redo:
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);