diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-12-06 18:11:53 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-12-06 18:11:53 +0000 |
commit | e984f917fbbc37874f55c6aff3239831cb43d1ec (patch) | |
tree | 79c7832e99ed11496e9b7a175bf810019213bc68 /src/xine-utils/xine_buffer.c | |
parent | 1a94ed9db8e28082d9286df2d6c59c7dffb69c1e (diff) | |
download | xine-lib-e984f917fbbc37874f55c6aff3239831cb43d1ec.tar.gz xine-lib-e984f917fbbc37874f55c6aff3239831cb43d1ec.tar.bz2 |
reading through Daniel's huge patch was quite tiresome, but it was not worthless:
* fixing some lprintf's
* fixing one printf -> xprintf
* adding patch to diff_to_ffmpeg_cvs
* small addition to xineutils.h (some gcc magic for future optimizations)
CVS patchset: 5853
CVS date: 2003/12/06 18:11:53
Diffstat (limited to 'src/xine-utils/xine_buffer.c')
-rw-r--r-- | src/xine-utils/xine_buffer.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/xine-utils/xine_buffer.c b/src/xine-utils/xine_buffer.c index d99adbc49..e69a36c04 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.6 2003/12/05 15:55:05 f1rmb Exp $ + * $Id: xine_buffer.c,v 1.7 2003/12/06 18:11:55 mroi Exp $ * * * generic dynamic buffer functions. The goals @@ -138,7 +138,7 @@ void *_xine_buffer_free(void *buf) { #ifdef CHECKS if (!buf) { - lprintf("xine_buffer_free: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return NULL; } CHECK_MAGIC(buf); @@ -158,7 +158,7 @@ void *xine_buffer_dup(void *buf) { #ifdef CHECKS if (!buf) { - lprintf("xine_buffer_dup: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return NULL; } CHECK_MAGIC(buf); @@ -181,7 +181,7 @@ void *_xine_buffer_copyin(void *buf, int index, const void *data, int len) { #ifdef CHECKS if (!buf || !data) { - lprintf("xine_buffer_copyin: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return NULL; } CHECK_MAGIC(buf); @@ -203,7 +203,7 @@ void xine_buffer_copyout(void *buf, int index, void *data, int len) { #ifdef CHECKS if (!buf || !data) { - lprintf("xine_buffer_copyout: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return; } CHECK_MAGIC(buf); @@ -211,7 +211,7 @@ void xine_buffer_copyout(void *buf, int index, void *data, int len) { if (GET_HEADER(buf)->size < index+len) { - lprintf("xine_buffer_copyout: warning: attempt to read over boundary!\n"); + lprintf("warning: attempt to read over boundary!\n"); if (GET_HEADER(buf)->size < index) return; len = GET_HEADER(buf)->size - index; @@ -228,7 +228,7 @@ void *_xine_buffer_set(void *buf, int index, uint8_t b, int len) { #ifdef CHECKS if (!buf) { - lprintf("xine_buffer_set: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return NULL; } CHECK_MAGIC(buf); @@ -251,7 +251,7 @@ void *_xine_buffer_strcat(void *buf, char *data) { #ifdef CHECKS if (!buf || !data) { - lprintf("xine_buffer_strcat: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return NULL; } CHECK_MAGIC(buf); @@ -273,7 +273,7 @@ void *_xine_buffer_strcpy(void *buf, int index, char *data) { #ifdef CHECKS if (!buf || !data) { - lprintf("xine_buffer_strcpy: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return NULL; } CHECK_MAGIC(buf); @@ -294,7 +294,7 @@ void *_xine_buffer_strcpy(void *buf, int index, char *data) { char *xine_buffer_strchr(void *buf, int ch) { #ifdef CHECKS if (!buf) { - lprintf("xine_buffer_get_size: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return 0; } CHECK_MAGIC(buf); @@ -310,7 +310,7 @@ int xine_buffer_get_size(void *buf) { #ifdef CHECKS if (!buf) { - lprintf("xine_buffer_get_size: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return 0; } CHECK_MAGIC(buf); @@ -330,7 +330,7 @@ void *_xine_buffer_ensure_size(void *buf, int size) { #ifdef CHECKS if (!buf) { - lprintf("xine_buffer_ensure_size: warning: got NULL pointer\n"); + lprintf("warning: got NULL pointer\n"); return 0; } CHECK_MAGIC(buf); |