Ticket #8303: blop

File blop, 551 bytes (added by SF/yokna, 17 years ago)

patch

Line 
1Index: sound/audiostream.cpp
2===================================================================
3RCS file: /cvsroot/scummvm/scummvm/sound/audiostream.cpp,v
4retrieving revision 1.40
5diff -a -u -r1.40 audiostream.cpp
6--- sound/audiostream.cpp 8 Nov 2003 23:05:04 -0000 1.40
7+++ sound/audiostream.cpp 3 Dec 2003 18:09:18 -0000
8@@ -71,7 +71,7 @@
9
10 if (loopLen) {
11 _loopPtr = _ptr + loopOffset;
12- _loopEnd = _loopPtr + loopLen;
13+ _loopEnd = _loopPtr + loopLen - 1;
14 }
15 if (stereo) // Stereo requires even sized data
16 assert(len % 2 == 0);