summaryrefslogtreecommitdiff
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 17:58:04 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commit5958df341de69d94b9958c10cc4aaca510b8cd24 (patch)
tree07f936eda1252378b930570a44d9ec2ffc296e52 /libavformat/aviobuf.c
parent1869ea03b7fb8e3db2f034f4214e03bd3f8b3d30 (diff)
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.c2
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 {