[ogg-dev] initialization issues
Ralph Giles
giles at xiph.org
Sun Apr 27 20:03:22 PDT 2008
On 27-Apr-08, at 4:42 PM, Neil Leathers wrote:
> #include "ogg/ogg.h"
>
> main() {
> ogg_sync_state the_ogg_sync_state;
>
> ogg_sync_init(&the_ogg_sync_state);
> ogg_sync_destroy( &the_ogg_sync_state );
> }
> [...]
> *** glibc detected *** ./a.out: munmap_chunk(): invalid pointer
This looks like a bug.
Your other code is skipped the ogg_stream_pagein/ogg_stream_packetout
loop. Most decoders want packets, not pages.
-r
More information about the ogg-dev
mailing list