search for: uicurrpos

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

2012 Jun 10
1
[libtremor] ov_read is reading past file size
...a there is. However ov_read is just going ahead and skipping past that number reading up to 168320 bytes. So either I have to increase the size of my pvPCMBuffer by some magic number or tremor is reading to far. int current_section = 0; long iRead = 0; unsigned int uiCurrPos = 0; do { iRead = ov_read(&vf, (char*)pvPCMBuffer + uiCurrPos, 4096, &current_section); uiCurrPos += (unsigned int)iRead; } while (iRead != 0); I've tried everything assuming I'm the cause of the problem. Although no...