aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index e3743c4f41..890f155db8 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -833,7 +833,7 @@ void SoundMixer::ChannelMP3::mix(int16 *data, uint len) {
}
mad_synth_frame(&_synth, &_frame);
_posInFrame = 0;
- _position = (unsigned char *)_stream.next_frame - (unsigned char *)_ptr;
+ _position = _stream.next_frame - (unsigned char *)_ptr;
}
}