Finally found that bug that troubled Patrick: The optimization for seeks into data that is alread in the feeder bufferchain was flawed: It incorrectly always demanded data to be fed one buffer size after the current position... where it should be the length of that part of the buffer that has not been decoded yet.
Finally found that bug that troubled Patrick: The optimization for seeks into data that is alread in the feeder bufferchain was flawed:
It incorrectly always demanded data to be fed one buffer size after the current position... where it should be the length of that part of the buffer that has not been decoded yet.

Totally my fault, I guess... well, all I can do is to see it and finally fix it. Plus, we now do have at least that regression test now.



git-svn-id: 793bb72743a407948e3701719c462b6a765bc435@2583 35dc7657-300d-0410-a2e5-dc2837fedb53

Distrotech/mpg123,Distrotech/mpg123,Distrotech/mpg123,Distrotech/mpg123,Distrotech/mpg123,Distrotech/mpg123,Distrotech/mpg123