search for: oggpack_bytes

Displaying 5 results from an estimated 5 matches for "oggpack_bytes".

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_mall...
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_mall...
2005 Jan 09
0
Statically linked ices0
...find a usable libshout from config.log: configure:20976: checking for shout_new configure:21033: gcc -o conftest -Wall -pthread -I/usr/include -static conftest.c -lshout -lvorbis >&5 [...snip... al lof of undefined references to various ogg functions ...] : undefined reference to `oggpack_bytes' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libvorbis.a(bitrate.o)(.text+0x147e): In function `vor bis_bitrate_addblock': : undefined reference to `rint' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libvorbis.a(bitrate.o)(.text+0x159d): In function `vor bis_bitrate_addblock': :...
2008 Aug 28
0
Error while cross compiling libvorbis 1.2.0
...erence to `ogg_sync_clear' ../lib/.libs/libvorbis.so: undefined reference 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' ../...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...STREAM PRIMITIVES: bitstream ************************/ extern void oggpack_readinit(oggpack_buffer *b,ogg_reference *r); extern long oggpack_look(oggpack_buffer *b,int bits); extern void oggpack_adv(oggpack_buffer *b,int bits); extern long oggpack_read(oggpack_buffer *b,int bits); extern long oggpack_bytes(oggpack_buffer *b); extern long oggpack_bits(oggpack_buffer *b); extern int oggpack_eop(oggpack_buffer *b); /* Ogg BITSTREAM PRIMITIVES: decoding **************************/ extern ogg_sync_state *ogg_sync_create(void); extern int ogg_sync_destroy(ogg_sync_state *oy); extern int ogg_...