瀏覽代碼

Fixes Theora build

Changes memcpy() -> copymem()
Ricardo Pérez 10 年之前
父節點
當前提交
ba61a1dfd3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/theoraplayer/video_stream_theoraplayer.cpp

+ 1 - 1
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++) {