From da5949c9e0113478da6416608e23d756d509ebb6 Mon Sep 17 00:00:00 2001 From: Stefan Holst Date: Tue, 24 Dec 2002 00:59:36 +0000 Subject: small xine_buffer fixes CVS patchset: 3661 CVS date: 2002/12/24 00:59:36 --- src/xine-utils/xine_buffer.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/xine-utils/xine_buffer.c') diff --git a/src/xine-utils/xine_buffer.c b/src/xine-utils/xine_buffer.c index 2ab70ea56..1af58c48a 100644 --- a/src/xine-utils/xine_buffer.c +++ b/src/xine-utils/xine_buffer.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_buffer.c,v 1.2 2002/12/22 00:35:05 komadori Exp $ + * $Id: xine_buffer.c,v 1.3 2002/12/24 00:59:36 holstsn Exp $ * * * generic dynamic buffer functions. The goals @@ -60,9 +60,6 @@ #define CHECKS -/* FIXME */ -#define xine_xmalloc(x) calloc(1,x) - /* * private data structs */ @@ -180,7 +177,7 @@ new=xine_xmalloc(GET_HEADER(buf)->size+XINE_BUFFER_HEADER_SIZE); */ #define xine_buffer_copyin(buf,i,data,len) \ buf=_xine_buffer_copyin(buf,i,data,len) -void *_xine_buffer_copyin(void *buf, int index, void *data, int len) { +void *_xine_buffer_copyin(void *buf, int index, const void *data, int len) { #ifdef CHECKS if (!buf || !data) { -- cgit v1.2.3