summaryrefslogtreecommitdiff
path: root/vp8/decoder/onyxd_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/decoder/onyxd_int.h')
-rw-r--r--vp8/decoder/onyxd_int.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vp8/decoder/onyxd_int.h b/vp8/decoder/onyxd_int.h
index 5e1687d1a..75286e430 100644
--- a/vp8/decoder/onyxd_int.h
+++ b/vp8/decoder/onyxd_int.h
@@ -118,6 +118,12 @@ typedef struct VP8D_COMP {
vpx_decrypt_cb decrypt_cb;
void *decrypt_state;
+#if CONFIG_MULTITHREAD
+ // Restart threads on next frame if set to 1.
+ // This is set when error happens in multithreaded decoding and all threads
+ // are shut down.
+ int restart_threads;
+#endif
} VP8D_COMP;
void vp8cx_init_de_quantizer(VP8D_COMP *pbi);