Displaying 1 result from an estimated 1 matches for "failingseekpoint".
2015 Nov 05
3
Opusfile seeking bug
...eekPoint(char* filename)
{
// Visual studio doesn't do C99 and I'm converting from C++
// so dump all the decelerations here to make it build as C89.
static const long BufferSize = 8192;
ogg_sync_state m_syncState;
ogg_stream_state m_streamState;
int64_t m_lastGranulePos = 0;
int64_t failingSeekPoint = -1;
int32_t serialno = -1;
int fpp, spf;
int decoding = 1;
ogg_page page;
char* buffer = NULL;
long bytesRead = 0;
uint8_t headerFLags = 0;
int pageContinuesPacket = 0;
int firstPacketInPage = 1;
int packetsToFetch = 1;
int packetOutRet;
FILE* fp = fopen(filename, "rb");...