shithub: libvpx

Download patch

ref: dbdff12b81a8364555921492b38e6199e7ae2f04
parent: 8e78a0d36527fc228cee0bfc534f6acc2f28bfcb
author: James Zern <[email protected]>
date: Thu Aug 28 13:50:38 EDT 2014

vp9: sync workers at the start of decode_tiles_mt()

prevents any problems resuming decode after decoding a corrupt frame

Change-Id: Ib7eb1b5c062aebe71074fef1ece32a32822c16be

--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -994,6 +994,7 @@
 
   // Reset tile decoding hook
   for (n = 0; n < num_workers; ++n) {
+    winterface->sync(&pbi->tile_workers[n]);
     pbi->tile_workers[n].hook = (VP9WorkerHook)tile_worker_hook;
   }