diff --git a/Plugins/HighlyComplete/HighlyComplete/HCDecoder.mm b/Plugins/HighlyComplete/HighlyComplete/HCDecoder.mm index 35c76f11f..d9a52871a 100644 --- a/Plugins/HighlyComplete/HighlyComplete/HCDecoder.mm +++ b/Plugins/HighlyComplete/HighlyComplete/HCDecoder.mm @@ -1219,6 +1219,7 @@ static int twosf_info(void * context, const char * name, const char * value) else { memcpy( buf, sound_out->buffer, frames_rendered * 4 ); + buf = ((uint8_t *) buf) + frames_rendered * 4; frames_to_render -= frames_rendered; frames_rendered = 0; }