From 27241cbffe180fc92f9f519c6ea7957fc4b3b0c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= 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/gopher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/gopher.c') diff --git a/libavformat/gopher.c b/libavformat/gopher.c index f5bb4a3718..13f3a5f9e1 100644 --- a/libavformat/gopher.c +++ b/libavformat/gopher.c @@ -31,7 +31,7 @@ typedef struct { URLContext *hd; } GopherContext; -static int gopher_write(URLContext *h, uint8_t *buf, int size) +static int gopher_write(URLContext *h, const uint8_t *buf, int size) { GopherContext *s = h->priv_data; return url_write(s->hd, buf, size); -- cgit v1.2.3