From bacac99192b65faed1a0047a8be5b95abf15873d Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sat, 17 Nov 2001 14:26:36 +0000 Subject: Add 'xine_' prefix to all of xine-utils functions (what about cpu acceleration?). Merge xine-utils header files to a new one "xineutils.h". Update xine-lib C/headers to reflect those changes. dxr3 headers are no more installed ine $includdir, but $includdir/xine. CVS patchset: 1054 CVS date: 2001/11/17 14:26:36 --- src/xine-engine/buffer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/xine-engine/buffer.c') diff --git a/src/xine-engine/buffer.c b/src/xine-engine/buffer.c index 382d6de0a..e7a71f764 100644 --- a/src/xine-engine/buffer.c +++ b/src/xine-engine/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: buffer.c,v 1.11 2001/11/06 21:46:05 miguelfreitas Exp $ + * $Id: buffer.c,v 1.12 2001/11/17 14:26:39 f1rmb Exp $ * * * contents: @@ -38,7 +38,7 @@ #include #include #include "buffer.h" -#include "utils.h" +#include "xineutils.h" /* * put a previously allocated buffer element back into the buffer pool @@ -229,7 +229,7 @@ fifo_buffer_t *fifo_buffer_new (int num_buffers, uint32_t buf_size) { int alignment = 2048; char *multi_buffer = NULL; - this = xmalloc (sizeof (fifo_buffer_t)); + this = xine_xmalloc (sizeof (fifo_buffer_t)); this->first = NULL; this->last = NULL; @@ -254,7 +254,7 @@ fifo_buffer_t *fifo_buffer_new (int num_buffers, uint32_t buf_size) { printf ("Allocating %d buffers of %ld bytes in one chunk (alignment = %d)\n", num_buffers, (long int) buf_size, alignment); */ - multi_buffer = xmalloc_aligned (alignment, num_buffers * buf_size); + multi_buffer = xine_xmalloc_aligned (alignment, num_buffers * buf_size); this->buffer_pool_top = NULL; @@ -264,7 +264,7 @@ fifo_buffer_t *fifo_buffer_new (int num_buffers, uint32_t buf_size) { for (i = 0; imem = multi_buffer; multi_buffer += buf_size; -- cgit v1.2.3