search for: oggpack_writeclear

Displaying 3 results from an estimated 3 matches for "oggpack_writeclear".

2005 Oct 26
1
Small memory leak...
Hi all. In lib\encoder_toplevel.c , row 1123-1128: #ifndef LIBOGG2 /* So we're expecting the application with free this? */ op->packet=malloc(oggpack_bytes(opb)); memcpy(op->packet, oggpack_get_buffer(opb), oggpack_bytes(opb)); oggpack_writeclear(opb); #else In my small testing application my debugger says there are 50 bytes of memory lost and it refers to op->packet=malloc(oggpack_bytes(opb)); I tried also: op->packet=_ogg_malloc(oggpack_bytes(opb)); But I got always this leak. How should I free that space ? _ogg_free(o...
2005 Oct 26
1
Small memory leak...
Hi all. In lib\encoder_toplevel.c , row 1123-1128: #ifndef LIBOGG2 /* So we're expecting the application with free this? */ op->packet=malloc(oggpack_bytes(opb)); memcpy(op->packet, oggpack_get_buffer(opb), oggpack_bytes(opb)); oggpack_writeclear(opb); #else In my small testing application my debugger says there are 50 bytes of memory lost and it refers to op->packet=malloc(oggpack_bytes(opb)); I tried also: op->packet=_ogg_malloc(oggpack_bytes(opb)); But I got always this leak. How should I free that space ? _ogg_free(o...
2008 Aug 28
0
Error while cross compiling libvorbis 1.2.0
...ference to `oggpack_writetrunc' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_writeinit' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_look' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_bytes' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_writeclear' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_adv' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_get_buffer' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_readinit' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_read' ../lib/.l...