search for: oggpack_get_buffer

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

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...
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...
2008 Aug 28
0
Error while cross compiling libvorbis 1.2.0
...ned 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/.libs/libvorbis.so: undefined reference to `oggpack_reset' ../lib/.libs/libvorbis.so: undefined reference to `oggpack_write' collect2: ld...