Commit a5d608b7 authored by anotherguest's avatar anotherguest

Add check for max 64000 pixels to be written/handled!

parent 9f304c22
......@@ -47,7 +47,7 @@ void Scene::loadFFMem(int size, unsigned char* frameData, unsigned char* pixdata
fwrite(frameData, size, 1, out);
fclose(out);*/
while (size > 0) {
while (size > 0 && pixels < 64000) {
LOG("PL FF frame offset",(frameData-framestart));
opCodeNo++;
fflush(stderr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment