diff avio.c @ 6068:7fdda2416684 libavformat

Declare the url_write buffer parameter as const
author mstorsjo
date Tue, 01 Jun 2010 07:46:23 +0000
parents d5672e116fe4
children 3fcaee5cf416
line wrap: on
line diff
--- a/avio.c	Mon May 31 10:47:36 2010 +0000
+++ b/avio.c	Tue Jun 01 07:46:23 2010 +0000
@@ -184,7 +184,7 @@
     return len;
 }
 
-int url_write(URLContext *h, unsigned char *buf, int size)
+int url_write(URLContext *h, const unsigned char *buf, int size)
 {
     int ret;
     if (!(h->flags & (URL_WRONLY | URL_RDWR)))