diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-02 13:33:46 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-04 08:03:19 +0200 |
commit | 0e0906726133519c59a2234162df66f53d755de0 (patch) | |
tree | 8d589ac57a7beab541b815dd6a2ac3867e99c886 /libavcodec/vp9dec.h | |
parent | a4f7fabc2684890ea9fbcfaefb7503ab6633479f (diff) | |
download | ffmpeg-0e0906726133519c59a2234162df66f53d755de0.tar.gz |
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.h | 1 |
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; |