Displaying 2 results from an estimated 2 matches for "magic_check".
2008 Apr 29
2
More trival questions
....ogg) if I use the buffer in the page struct and nothing usable if I try to use the packet structs. Hopefully this is once 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 =...
2010 Dec 20
4
Xapian 1.2.4 released
I've uploaded Xapian 1.2.4 (including Search::Xapian 1.2.4.0).
As usual you can download from:
http://xapian.org/download
You can read an overview of the release here:
http://trac.xapian.org/wiki/ReleaseOverview/1.2.4
The full lists of user-visible changes are linked to from there, and also
from the "[news]" links on the download page.
As always, if you encounter problems,