(SoftFilters) More of aforementioned

This commit is contained in:
twinaphex 2014-04-29 00:41:29 +02:00
parent d0a8fdc0bc
commit 4a119d9d94

View File

@ -53,7 +53,8 @@ static void filter_thread_loop(void *data)
if (die)
break;
thr->packet->work(thr->userdata, thr->packet->thread_data);
if (thr->packet && thr->packet->work)
thr->packet->work(thr->userdata, thr->packet->thread_data);
slock_lock(thr->lock);
thr->done = true;