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

Fixes Theora build
This commit is contained in:
Juan Linietsky 2015-05-04 20:42:26 -03:00
commit 639f7e0016

View file

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