Revert "Fix a bug in VP9Worker which leads to unit test hang."

The caller should reset the state instead of letting worker
to reset.

This reverts commit 34b2ce15f9.

Change-Id: Idb546ea6386cffc44e98dee772900d21ab79710f
This commit is contained in:
hkuang 2014-06-30 16:56:31 -07:00
parent 4bb4c2291b
commit 1480ba6f0a

View File

@ -107,7 +107,6 @@ int vp9_worker_reset(VP9Worker* const worker) {
}
void vp9_worker_execute(VP9Worker* const worker) {
worker->had_error = 0;
if (worker->hook != NULL) {
worker->had_error |= !worker->hook(worker->data1, worker->data2);
}