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/librtmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/librtmp.c') diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c index d765102f1b..dd7640aaeb 100644 --- a/libavformat/librtmp.c +++ b/libavformat/librtmp.c @@ -109,7 +109,7 @@ fail: return rc; } -static int rtmp_write(URLContext *s, uint8_t *buf, int size) +static int rtmp_write(URLContext *s, const uint8_t *buf, int size) { RTMP *r = s->priv_data; -- cgit v1.2.3