small tweak/fix (?)

svn-id: r11541
This commit is contained in:
Max Horn 2003-12-09 23:01:36 +00:00
parent e6d176bc67
commit 8edcf3f1ca

View File

@ -52,7 +52,7 @@ protected:
//assert(_ptr < _end);
int16 val = READSAMPLE(is16Bit, isUnsigned, _ptr);
_ptr += (is16Bit ? 2 : 1);
if (_loopPtr && _ptr == _end) {
if (_loopPtr && eosIntern()) {
_ptr = _loopPtr;
_end = _loopEnd;
}