Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-02 14:33:46 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-04 09:03:19 +0300
commit0e0906726133519c59a2234162df66f53d755de0 (patch)
tree8d589ac57a7beab541b815dd6a2ac3867e99c886 /libavcodec/vp9dec.h
parenta4f7fabc2684890ea9fbcfaefb7503ab6633479f (diff)
avcodec/vp9: Check initializing conditions/mutexes
Also don't destroy uninitialized conditions/mutexes. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vp9dec.h')
-rw-r--r--libavcodec/vp9dec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp9dec.h b/libavcodec/vp9dec.h
index d82b258a3d..9cbd5839a8 100644
--- a/libavcodec/vp9dec.h
+++ b/libavcodec/vp9dec.h
@@ -105,6 +105,7 @@ typedef struct VP9Context {
pthread_mutex_t progress_mutex;
pthread_cond_t progress_cond;
atomic_int *entries;
+ unsigned pthread_init_cnt;
#endif
uint8_t ss_h, ss_v;