From 8cb98acbd2ace9f4db3da833393b561002290fd7 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Thu, 12 Nov 2015 14:54:56 +0100 Subject: [PATCH] fix video filters when built without HAVE_THREADS. --- gfx/video_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_filter.c b/gfx/video_filter.c index c8e2526f61..dca43bd448 100644 --- a/gfx/video_filter.c +++ b/gfx/video_filter.c @@ -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++) {