Displaying 3 results from an estimated 3 matches for "ogg_malloc".
Did you mean:
_ogg_malloc
2000 Oct 23
1
(no subject)
...>>If you're going to provide for callbacks, you obviously have to provide a
>>method to actually tell the library what your callbacks are. And they have
>>to propagate to _every_ function which might allocate or free memory.
>>Hardly trivial.<<
You need a set_ogg_malloc_handler(). That's it as far as the API goes.
As for the implementation, I'd suggest making a two-three line function
named ogg_malloc() that does the right thing. Do a grep through the ogg and
vorbis source to change all instances of "malloc" to "ogg_malloc".
Hardly...
2000 Nov 08
0
vq diffs
...bookutil.c
--- vorbis/vq/bookutil.c Sat Nov 4 01:43:55 2000
+++ vorbis-ejk/vq/bookutil.c Wed Nov 8 14:00:20 2000
@@ -22,7 +22,7 @@
#include <string.h>
#include <errno.h>
-#include "vorbis/codebook.h"
-#include "../lib/sharedbook.h"
+#include "misc.h" /* ogg_malloc, etc. */
#include "bookutil.h"
+#include "codebook.h"
/* A few little utils for reading files */
@@ -41,8 +41,8 @@
if(!lbufsize){
lbufsize=1024;
- linebuffer=_ogg_malloc(lbufsize);
+ linebuffer=(char*)_ogg_malloc(lbufsize);
}else{...
2001 Jun 30
2
libao: src/plugins/arts/Makefile.am
Clobbering CFLAGS is not nice.
--- src/plugins/arts/Makefile.am.orig Sat Dec 30 06:03:25 2000
+++ src/plugins/arts/Makefile.am Wed Apr 11 00:40:35 2001
@@ -16,13 +17,12 @@ artssources =
endif
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include @ARTS_CFLAGS@
libdir = $(plugindir)
lib_LTLIBRARIES = $(artsltlibs)
libarts_la_LDFLAGS =