diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 17:58:04 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | 5958df341de69d94b9958c10cc4aaca510b8cd24 (patch) | |
tree | 07f936eda1252378b930570a44d9ec2ffc296e52 /libavformat/rtpproto.c | |
parent | 1869ea03b7fb8e3db2f034f4214e03bd3f8b3d30 (diff) | |
download | ffmpeg-5958df341de69d94b9958c10cc4aaca510b8cd24.tar.gz |
avio: deprecate url_max_packet_size().
URLContext.max_packet_size should be used directly.
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r-- | libavformat/rtpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c index 0439bc07fc..7ffabf5eac 100644 --- a/libavformat/rtpproto.c +++ b/libavformat/rtpproto.c @@ -206,7 +206,7 @@ static int rtp_open(URLContext *h, const char *uri, int flags) s->rtp_fd = ffurl_get_file_handle(s->rtp_hd); s->rtcp_fd = ffurl_get_file_handle(s->rtcp_hd); - h->max_packet_size = url_get_max_packet_size(s->rtp_hd); + h->max_packet_size = s->rtp_hd->max_packet_size; h->is_streamed = 1; return 0; |