]> granicus.if.org Git - libvpx/commitdiff
Revert "Fix a bug in VP9Worker which leads to unit test hang."
authorhkuang <hkuang@google.com>
Mon, 30 Jun 2014 23:56:31 +0000 (16:56 -0700)
committerhkuang <hkuang@google.com>
Tue, 1 Jul 2014 00:02:26 +0000 (17:02 -0700)
The caller should reset the state instead of letting worker
to reset.

This reverts commit 34b2ce15f95ee0944ebe6d569e7a9179a7e4cc5b.

Change-Id: Idb546ea6386cffc44e98dee772900d21ab79710f

vp9/decoder/vp9_thread.c

index 4ea9c17d8c9507d61e71b1c084a2019a6bd7f3be..5d31d3d98b08dfa983f87646a6ca6eb9697cf2a8 100644 (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);
   }