search for: ogginternal

Displaying 1 result from an estimated 1 matches for "ogginternal".

2006 Jan 13
2
libogg2 issue in revision 10730
...tr=b->head->buffer->data+b->head->begin; b->headend=b->head->length; _span(b); } A program using the libogg2 library cannot know the size of an oggpack_buffer, so you cannot define such a variable (only the pointer). This is because the structure definition is hidden in ogginternal.h, which is not included. Therefore when trying to do some bitpacking by writing oggpack_buffer * bs; oggpack_readinit(bs, op->packet); you immediately get a segmentation fault which really is undesirable. However, I could be totally wrong as I might have overlooked something. My suggestion...