summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRicardo Pérez <ricpelo@gmail.com>2015-05-04 23:57:55 +0200
committerRicardo Pérez <ricpelo@gmail.com>2015-05-04 23:57:55 +0200
commitba61a1dfd3d89c0c1b2b56ea079f4ad14efb1715 (patch)
tree992a9e1f13adec6c391f128c298bae7f15f3f812 /drivers
parentaf068439829a3fec3a76c4c5d4dd2dba71ab6c5f (diff)
Fixes Theora build
Changes memcpy() -> copymem()
Diffstat (limited to 'drivers')
-rw-r--r--drivers/theoraplayer/video_stream_theoraplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/theoraplayer/video_stream_theoraplayer.cpp b/drivers/theoraplayer/video_stream_theoraplayer.cpp
index ecafda9d84..ef1f5651ab 100644
--- a/drivers/theoraplayer/video_stream_theoraplayer.cpp
+++ b/drivers/theoraplayer/video_stream_theoraplayer.cpp
@@ -388,7 +388,7 @@ void VideoStreamTheoraplayer::pop_frame(Ref<ImageTexture> p_tex) {
{
DVector<uint8_t>::Write wr = data.write();
uint8_t* ptr = wr.ptr();
- memcpy(ptr, f->getBuffer(), imgsize);
+ copymem(ptr, f->getBuffer(), imgsize);
}
/*
for (int i=0; i<h; i++) {