diff librtmp.c @ 6068:7fdda2416684 libavformat

Declare the url_write buffer parameter as const
author mstorsjo
date Tue, 01 Jun 2010 07:46:23 +0000
parents 178de7695c6c
children fa244b4fe683
line wrap: on
line diff
--- a/librtmp.c	Mon May 31 10:47:36 2010 +0000
+++ b/librtmp.c	Tue Jun 01 07:46:23 2010 +0000
@@ -109,7 +109,7 @@
     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;