From 27241cbffe180fc92f9f519c6ea7957fc4b3b0c9 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Tue, 1 Jun 2010 07:46:23 +0000 Subject: Declare the url_write buffer parameter as const Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/tcp.c') diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 79cabdfe90..fb6dec798f 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -154,7 +154,7 @@ static int tcp_read(URLContext *h, uint8_t *buf, int size) } } -static int tcp_write(URLContext *h, uint8_t *buf, int size) +static int tcp_write(URLContext *h, const uint8_t *buf, int size) { TCPContext *s = h->priv_data; int ret, size1, fd_max, len; -- cgit v1.2.3