search for: the_ogg_sync_state

Displaying 2 results from an estimated 2 matches for "the_ogg_sync_state".

2008 Apr 29
2
More trival questions
...printf("Magic!\n"); } else { printf("no Magic!\n"); } } else { printf("not a header\n"); } } int main( int argc, char** argv) { ogg_sync_state the_ogg_sync_state; ogg_stream_state the_ogg_stream_state; ogg_page the_ogg_page; ogg_packet the_ogg_packet; char* buffer; size_t bytes_actually_read; FILE* source; if (argc < 2) { printf("No file\n"); return 0;...
2008 Apr 27
1
initialization issues
I guess I'm missing something since the following minimized test case is failing: >>> #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 ); } >>> $ gcc -g -logg test.c $ ./a.out *** glibc detected *** ./a.out: munmap_chunk(): invalid pointer: 0x00007fffe0562330 *** ======= Backtrace: ========= /lib/libc.so.6(cfree+0x1ac)[0...