summaryrefslogtreecommitdiff
path: root/libavcodec/vp9dec.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2017-09-09 23:24:31 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2017-09-11 08:01:59 -0400
commit9bab39dee52a44ff97975aafc70b8b428d8ca7b6 (patch)
tree371a0a88da0bc17e5c8a58617a5600d41ea41ee4 /libavcodec/vp9dec.h
parent2d025e742843ca3532bd49ebbfebeacd51337347 (diff)
downloadffmpeg-9bab39dee52a44ff97975aafc70b8b428d8ca7b6.tar.gz
vp9: fix compilation with threading disabled.
Diffstat (limited to 'libavcodec/vp9dec.h')
-rw-r--r--libavcodec/vp9dec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vp9dec.h b/libavcodec/vp9dec.h
index 15e0122918..96c0e43cd2 100644
--- a/libavcodec/vp9dec.h
+++ b/libavcodec/vp9dec.h
@@ -98,9 +98,11 @@ typedef struct VP9Context {
VP56RangeCoder c;
int pass, active_tile_cols;
+#if HAVE_THREADS
pthread_mutex_t progress_mutex;
pthread_cond_t progress_cond;
atomic_int *entries;
+#endif
uint8_t ss_h, ss_v;
uint8_t last_bpp, bpp_index, bytesperpixel;