size calculation for cluster-offset might be short by one byte
waldheinz opened this issue · 0 comments
waldheinz commented
(from Google Code)
Reported by marc.greim, Aug 11, 2013
on line 211 in ClusterChain.java (5e34cb7eb178) the partial read calculates the size to read as:
200 int size = Math.min(len,
211 (int) (clusterSize - (offset % clusterSize) - 1));
The subtraction of 1 at the end of the line seems wrong to me. In my tests removing the -1 solves issues while playing mp3/video after a seek.