winemp3: Fixed exit condition within decoding loop
Stefan Reimer
it at stefanreimer.de
Tue Jan 25 02:44:18 CST 2011
---
dlls/winemp3.acm/mpegl3.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winemp3.acm/mpegl3.c b/dlls/winemp3.acm/mpegl3.c
index 2ee8430..548483a 100644
--- a/dlls/winemp3.acm/mpegl3.c
+++ b/dlls/winemp3.acm/mpegl3.c
@@ -192,7 +192,7 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi,
TRACE("New format: %li Hz, %i channels, encoding value %i\n", rate, channels, enc);
}
dpos += size;
- if (dpos > *ndst) break;
+ if (dpos >= *ndst) break;
} while (ret != MPG123_ERR && ret != MPG123_NEED_MORE);
*ndst = dpos;
}
--
1.7.3.4
--------------060501020305010302040607--
More information about the wine-patches
mailing list