summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 827c0db191..1842e7b3bb 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -609,12 +609,14 @@ static av_cold int alac_decode_init(AVCodecContext * avctx)
return 0;
}
+#if HAVE_THREADS
static int init_thread_copy(AVCodecContext *avctx)
{
ALACContext *alac = avctx->priv_data;
alac->avctx = avctx;
return allocate_buffers(alac);
}
+#endif
static const AVOption options[] = {
{ "extra_bits_bug", "Force non-standard decoding process",