summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_thread_common.h
diff options
context:
space:
mode:
authorVenkatarama NG. Avadhani <venkatarama.avadhani@ittiam.com>2019-11-25 16:15:52 +0530
committerVenkatarama NG. Avadhani <venkatarama.avadhani@ittiam.com>2019-11-27 08:56:32 +0530
commitb4e0986391819a33c71795b2dd76710104761b52 (patch)
tree8d26f910a943207e3db659e38bdd67570f5c0194 /vp9/common/vp9_thread_common.h
parent1e2cfa3f0f75c971ccceb9be0e818b207c86303b (diff)
downloadlibvpx-b4e0986391819a33c71795b2dd76710104761b52.tar.gz
Fix mutex free in multi-thread lpf
The mutex lf_mutex will now be allocated and destroyed, making it easier to verify if it has been inited before destruction. BUG=webm:1662 Change-Id: I8169bea9e117bd615d68b8d02da98aeab570b53f
Diffstat (limited to 'vp9/common/vp9_thread_common.h')
-rw-r--r--vp9/common/vp9_thread_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/common/vp9_thread_common.h b/vp9/common/vp9_thread_common.h
index 94c9de659..5df0117f1 100644
--- a/vp9/common/vp9_thread_common.h
+++ b/vp9/common/vp9_thread_common.h
@@ -40,7 +40,7 @@ typedef struct VP9LfSyncData {
int num_active_workers; // number of scheduled workers.
#if CONFIG_MULTITHREAD
- pthread_mutex_t lf_mutex;
+ pthread_mutex_t *lf_mutex;
pthread_mutex_t *recon_done_mutex;
pthread_cond_t *recon_done_cond;
#endif