Displaying 1 result from an estimated 1 matches for "the_ogg_packet".
2008 Apr 29
2
More trival questions
...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;
}
source = fopen(argv[1], "r");
if (feof(source) != 0) {
printf(&q...