summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-04 20:42:26 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-04 20:42:26 -0300
commit639f7e00165bef9f408e3df4b63b72e06d3f015f (patch)
tree14d80b9efbf3c6d80a3b27b97c9ac3d09390f793
parenta6e6c5b8787d8218762f8a52ed99ef4248248c94 (diff)
parentba61a1dfd3d89c0c1b2b56ea079f4ad14efb1715 (diff)
Merge pull request #1810 from ricpelo/ricpelo-patch-3
Fixes Theora build
-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++) {