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/aviobuf.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/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 3d088ddcc7..dd250277f2 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -828,7 +828,7 @@ int ffio_fdopen(AVIOContext **s, URLContext *h) uint8_t *buffer; int buffer_size, max_packet_size; - max_packet_size = url_get_max_packet_size(h); + max_packet_size = h->max_packet_size; if (max_packet_size) { buffer_size = max_packet_size; /* no need to bufferize more than one packet */ } else { |