aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMax Horn2003-06-22 13:52:40 +0000
committerMax Horn2003-06-22 13:52:40 +0000
commitc03fb13a0b070c605e031525b920d41e3ec8cf2a (patch)
tree52f44d0daab456aa3467b6e52daa0bef6c84b084 /sound
parentb4ce2163272a0141915ac17147c64548a880f669 (diff)
downloadscummvm-rg350-c03fb13a0b070c605e031525b920d41e3ec8cf2a.tar.gz
scummvm-rg350-c03fb13a0b070c605e031525b920d41e3ec8cf2a.tar.bz2
scummvm-rg350-c03fb13a0b070c605e031525b920d41e3ec8cf2a.zip
fixed Vorbis CD track code
svn-id: r8610
Diffstat (limited to 'sound')
-rw-r--r--sound/mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 3af042ad86..49ccdcb5db 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -1133,7 +1133,7 @@ void ChannelVorbis::mix(int16 *data, uint len) {
}
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