Răsfoiți Sursa

Merge pull request #1810 from ricpelo/ricpelo-patch-3

Fixes Theora build
Juan Linietsky 10 ani în urmă
părinte
comite
639f7e0016
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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++) {