summaryrefslogtreecommitdiff
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-06 18:04:49 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-07 12:25:36 -0500
commite8bb2e24398ec838d9e49cf115b7e132609a9fb7 (patch)
treec10594ceec9148eab34ae0c6816418d7f0602f83 /libavformat/aviobuf.c
parent2790d7a9ffbd51f33e5367a31ace5c44c30401a1 (diff)
avio: deprecate url_fget_max_packet_size
AVIOContext.max_packet_size should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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 aebdd7211a..6592e9acd6 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -942,12 +942,12 @@ char *url_fgets(AVIOContext *s, char *buf, int buf_size)
*q = '\0';
return buf;
}
-#endif
int url_fget_max_packet_size(AVIOContext *s)
{
return s->max_packet_size;
}
+#endif
int av_url_read_fpause(AVIOContext *s, int pause)
{