summaryrefslogtreecommitdiff
path: root/src/xine-utils/xine_buffer.c
diff options
context:
space:
mode:
authorStefan Holst <holstsn@users.sourceforge.net>2002-12-24 00:59:36 +0000
committerStefan Holst <holstsn@users.sourceforge.net>2002-12-24 00:59:36 +0000
commitda5949c9e0113478da6416608e23d756d509ebb6 (patch)
tree64f3948eb0d1fc718afedade6cb041e86b7b1370 /src/xine-utils/xine_buffer.c
parent6af09b7d74a3e19e7169c82c442f798f1dec316e (diff)
downloadxine-lib-da5949c9e0113478da6416608e23d756d509ebb6.tar.gz
xine-lib-da5949c9e0113478da6416608e23d756d509ebb6.tar.bz2
small xine_buffer fixes
CVS patchset: 3661 CVS date: 2002/12/24 00:59:36
Diffstat (limited to 'src/xine-utils/xine_buffer.c')
-rw-r--r--src/xine-utils/xine_buffer.c7
1 files changed, 2 insertions, 5 deletions
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) {