diff options
author | Max Horn | 2003-06-22 14:17:44 +0000 |
---|---|---|
committer | Max Horn | 2003-06-22 14:17:44 +0000 |
commit | 3883de39a9ce3103503b37472aded49a80d6c194 (patch) | |
tree | 09a81ed13a8d11f0fb561ee26610acac4cb3116c /sound | |
parent | c03fb13a0b070c605e031525b920d41e3ec8cf2a (diff) | |
download | scummvm-rg350-3883de39a9ce3103503b37472aded49a80d6c194.tar.gz scummvm-rg350-3883de39a9ce3103503b37472aded49a80d6c194.tar.bz2 scummvm-rg350-3883de39a9ce3103503b37472aded49a80d6c194.zip |
d'oh
svn-id: r8611
Diffstat (limited to 'sound')
-rw-r--r-- | sound/mixer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp index 49ccdcb5db..d11f5b551e 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -1128,12 +1128,12 @@ void ChannelVorbis::mix(int16 *data, uint len) { delete [] samples; - if (_eof_flag && ! _is_cd_track) + if (_eof_flag && !_is_cd_track) destroy(); } bool ChannelVorbis::isActive() { - return !_eof_flag && !(_end_pos <= 0 && ov_pcm_tell(_ov_file) >= _end_pos); + return !_eof_flag && !(_end_pos > 0 && ov_pcm_tell(_ov_file) >= _end_pos); } #endif |