88,7 → 88,7 |
simplealert(_strdup("This version of Filter Foundry is not compatible with Adobe Premiere!")); |
} |
premiereWarnedOnce = true; |
*result = filterBadParameters; |
*result = errPlugInHostInsufficient; |
return; |
} |
|
120,8 → 120,8 |
// Side note: pb->bufferSpace64/pb->maxSpace64 was documented in SDK CC 2017. |
// pb->bufferProcs->allocateProc64/spaceProc64 was documented in SDK CS 6. |
unsigned32 siz = sizeof(globals_t); |
*data = pSBufferSuite32->New(&siz, siz); |
if ((*data == NULL) || (siz == 0)) { |
*data = (intptr_t)pSBufferSuite32->New(&siz, siz); |
if ((*data == 0) || (siz == 0)) { |
*result = errPlugInHostInsufficient; // TODO: what is the correct error code for "out of memory"? |
return; |
} |