diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-06 18:04:49 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-07 12:25:36 -0500 |
commit | e8bb2e24398ec838d9e49cf115b7e132609a9fb7 (patch) | |
tree | c10594ceec9148eab34ae0c6816418d7f0602f83 /libavformat/rtpenc.c | |
parent | 2790d7a9ffbd51f33e5367a31ace5c44c30401a1 (diff) | |
download | ffmpeg-e8bb2e24398ec838d9e49cf115b7e132609a9fb7.tar.gz |
avio: deprecate url_fget_max_packet_size
AVIOContext.max_packet_size should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/rtpenc.c')
-rw-r--r-- | libavformat/rtpenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index b32a9a4041..6c49d34c31 100644 --- a/libavformat/rtpenc.c +++ b/libavformat/rtpenc.c @@ -93,7 +93,7 @@ static int rtp_write_header(AVFormatContext *s1) s->first_rtcp_ntp_time = (s1->start_time_realtime / 1000) * 1000 + NTP_OFFSET_US; - max_packet_size = url_fget_max_packet_size(s1->pb); + max_packet_size = s1->pb->max_packet_size; if (max_packet_size <= 12) return AVERROR(EIO); s->buf = av_malloc(max_packet_size); |