From 9bab39dee52a44ff97975aafc70b8b428d8ca7b6 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 9 Sep 2017 23:24:31 -0400 Subject: vp9: fix compilation with threading disabled. --- libavcodec/vp9dec.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/vp9dec.h') 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; -- cgit v1.2.3