memmove -> memcpy

This commit is contained in:
Luke Street 2022-02-08 01:59:09 -05:00
parent 921d6bf10a
commit b871cc965a
1 changed files with 2 additions and 2 deletions

View File

@ -497,8 +497,8 @@ void CMoviePlayer::DecodeFromRead(const void* data) {
}
aurora::shaders::write_texture(tex.Y[0]->ref, {buffer.get(), planeSizeHalf});
for (unsigned y = 0; y < x6c_videoInfo.height / 2; ++y) {
memmove(buffer.get() + x6c_videoInfo.width * y, m_yuvBuf.get() + x6c_videoInfo.width * (y * 2 + 1),
x6c_videoInfo.width);
memcpy(buffer.get() + x6c_videoInfo.width * y, m_yuvBuf.get() + x6c_videoInfo.width * (y * 2 + 1),
x6c_videoInfo.width);
}
aurora::shaders::write_texture(tex.Y[1]->ref, {buffer.get(), planeSizeHalf});
} else {