diff options
| author | Ricardo Pérez | 2015-05-04 23:57:55 +0200 |
|---|---|---|
| committer | Ricardo Pérez | 2015-05-04 23:57:55 +0200 |
| commit | ba61a1dfd3d89c0c1b2b56ea079f4ad14efb1715 (patch) | |
| tree | 992a9e1f13adec6c391f128c298bae7f15f3f812 /drivers/theoraplayer/video_stream_theoraplayer.cpp | |
| parent | af068439829a3fec3a76c4c5d4dd2dba71ab6c5f (diff) | |
| download | godot-ba61a1dfd3d89c0c1b2b56ea079f4ad14efb1715.tar.gz godot-ba61a1dfd3d89c0c1b2b56ea079f4ad14efb1715.tar.zst godot-ba61a1dfd3d89c0c1b2b56ea079f4ad14efb1715.zip | |
Fixes Theora build
Changes memcpy() -> copymem()
Diffstat (limited to 'drivers/theoraplayer/video_stream_theoraplayer.cpp')
| -rw-r--r-- | drivers/theoraplayer/video_stream_theoraplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/theoraplayer/video_stream_theoraplayer.cpp b/drivers/theoraplayer/video_stream_theoraplayer.cpp index ecafda9d8..ef1f5651a 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++) { |
