aboutsummaryrefslogtreecommitdiff
path: root/sound/rate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/rate.cpp')
-rw-r--r--sound/rate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/rate.cpp b/sound/rate.cpp
index 12584c4b7e..a30837248e 100644
--- a/sound/rate.cpp
+++ b/sound/rate.cpp
@@ -200,7 +200,7 @@ public:
int16 tmp[2];
st_size_t len = osamp;
assert(input.isStereo() == stereo);
- while (!input.eos() && len--) {
+ while (!input.endOfData() && len--) {
tmp[0] = tmp[1] = input.read();
if (stereo)
tmp[reverseStereo ? 0 : 1] = input.read();