fix video filters when built without HAVE_THREADS.

This commit is contained in:
aliaspider 2015-11-12 14:54:56 +01:00
parent 891de78611
commit 8cb98acbd2

View File

@ -216,6 +216,7 @@ static bool create_softfilter_graph(rarch_softfilter_t *filt,
return false;
}
filt->threads = threads;
RARCH_LOG("Using %u threads for softfilter.\n", threads);
filt->packets = (struct softfilter_work_packet*)
@ -231,7 +232,6 @@ static bool create_softfilter_graph(rarch_softfilter_t *filt,
calloc(threads, sizeof(*filt->thread_data));
if (!filt->thread_data)
return false;
filt->threads = threads;
for (i = 0; i < threads; i++)
{