search for: oggzhungry

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

2009 Aug 12
1
Oggz use
...------------------------------------------------------------------------------------------------ /static long serialno; static ogg_int64_t granulepos = 0; static ogg_int64_t packetno = 0;/ ------------------------------------------------------------------------------------------------ /static int oggzHungry(OGGZ * oggz, int empty, void * user_data) { ogg_packet op; //unsigned char buf[1]; //buf[0] = 'A' + (int)packetno; unsigned char buf[2]; buf[0] = 0; buf[1] = 0; memset(&op, 0, sizeof(ogg_packet)); op.packet = buf; op.bytes = 2; //op.bytes = 1; op.granulepos = gran...