Commit b1911119 authored by Nicolas Carion's avatar Nicolas Carion
Browse files

fix fuzzer compilation

parent de3e5ee1
Pipeline #3492 passed with stage
in 15 minutes and 41 seconds
......@@ -35,7 +35,7 @@ std::unique_ptr<Mlt::Repository> repo(Mlt::Factory::init(nullptr));
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
{
qputenv("MLT_TESTS", QByteArray("1"));
Core::build();
Core::build(false);
const char *input = reinterpret_cast<const char *>(data);
char *target = new char[size + 1];
strncpy(target, input, size);
......
......@@ -45,7 +45,7 @@ int main(int argc, char **argv)
signal(SIGSEGV, signalHandler);
QApplication app(argc, argv);
qputenv("MLT_TESTS", QByteArray("1"));
Core::build();
Core::build(false);
std::stringstream ss;
std::string str;
while (getline(std::cin, str)) {
......
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