diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-11-17 14:26:36 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-11-17 14:26:36 +0000 |
commit | bacac99192b65faed1a0047a8be5b95abf15873d (patch) | |
tree | c1ca0949f9cb222c8ef6305d8150ca4d9e85b4a7 /src/xine-engine/buffer.c | |
parent | 75a1024fb27dbff9c4bfc948392910af94797683 (diff) | |
download | xine-lib-bacac99192b65faed1a0047a8be5b95abf15873d.tar.gz xine-lib-bacac99192b65faed1a0047a8be5b95abf15873d.tar.bz2 |
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
Diffstat (limited to 'src/xine-engine/buffer.c')
-rw-r--r-- | src/xine-engine/buffer.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 <stdio.h> #include <stdlib.h> #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; i<num_buffers; i++) { buf_element_t *buf; - buf = xmalloc (sizeof (buf_element_t)); + buf = xine_xmalloc (sizeof (buf_element_t)); buf->mem = multi_buffer; multi_buffer += buf_size; |