search for: send_to_my_decod

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

Did you mean: send_to_my_decoder
2008 Apr 29
2
More trival questions
...again something something trivial I've missed in the documentation. Neil >>> #include <stdio.h> #include "ogg/ogg.h" #define BUF_SIZE 4096 int magic_check( unsigned char test, oggpack_buffer* buffer) { return (long) test == oggpack_read(buffer, 8); } void send_to_my_decoder(unsigned char *body, long body_len) { oggpack_buffer buffer; long bits_read; oggpack_readinit(&buffer, body, body_len); bits_read = oggpack_read(&buffer, 8); if ( bits_read == 0x80 || bits_read == 0x81 || bits_read == 0x82 ) { if...