aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavformat/aviobuf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 06c7a10749..1cbed1d5e7 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -538,7 +538,6 @@ int url_fdopen(ByteIOContext **s, URLContext *h)
uint8_t *buffer;
int buffer_size, max_packet_size;
-
max_packet_size = url_get_max_packet_size(h);
if (max_packet_size) {
buffer_size = max_packet_size; /* no need to bufferize more than one packet */