mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
parent
315a8ea1f5
commit
22f13ffbec
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ void BufferedInputStream::ensureBuffered()
|
||||||
&& position >= bufferStart)
|
&& position >= bufferStart)
|
||||||
{
|
{
|
||||||
const int bytesToKeep = (int) (lastReadPos - position);
|
const int bytesToKeep = (int) (lastReadPos - position);
|
||||||
memcpy (buffer, buffer + position - bufferStart, bytesToKeep);
|
memmove (buffer, buffer + position - bufferStart, bytesToKeep);
|
||||||
|
|
||||||
bufferStart = position;
|
bufferStart = position;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue