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/rtmpproto.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/rtmpproto.c')
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index b87e4b8b0d..54ca2e8469 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -888,7 +888,7 @@ static int rtmp_open(URLContext *s, const char *uri, int flags) rt->flv_off = 0; } - s->max_packet_size = url_get_max_packet_size(rt->stream); + s->max_packet_size = rt->stream->max_packet_size; s->is_streamed = 1; return 0; |