search for: opfile

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

Did you mean: popfile
2015 Nov 05
3
Opusfile seeking bug
...// position and checks to see if the target position is greater // than the last packet granule position, which it now is due to // the re-calculation and thus throws the OP_EBADLINK error. int64_t failingSeekPoint = FindBrokenSeekPoint(filename); if(failingSeekPoint >= 0) { OggOpusFile* opfile = op_open_file(filename, NULL); // Seeking to somewhere in the first packet should return // OP_EBADLINK, however seeking discards 80ms so the actual // requested point needs to be 80ms ahead of the failing point. // This is handled by FindBrokenSeekPoint which has already // adjusted th...