summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index a97f7e4..62bc4cf 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -347,7 +347,7 @@ int codec_load_ram(char* pluginptr, size_t size, void *parameter, void* ptr2, si
size -= copy_n;
if (size > 0) {
- memcpy(ptr2, &pluginptr[copy_n], size);
+ memcpy(&pluginbuf[copy_n], ptr2, size);
}
}