From 5958df341de69d94b9958c10cc4aaca510b8cd24 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 31 Mar 2011 17:58:04 +0200 Subject: avio: deprecate url_max_packet_size(). URLContext.max_packet_size should be used directly. --- libavformat/rtpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtpproto.c') 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; -- cgit v1.2.3