summaryrefslogtreecommitdiff
path: root/libavcodec/takdec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-06-06 20:17:36 +0000
committerPaul B Mahol <onemda@gmail.com>2013-06-06 20:17:36 +0000
commit61d900fd0df6e29674fc453db0c0dcc9cb2ba6b9 (patch)
tree9f23504c1e4c14be109671e5b817a21eb47c905a /libavcodec/takdec.c
parentffb1051b9b9b876aba109d6ae402ab3a50183554 (diff)
lavc: add ONLY_IF_THREADS_ENABLED where it is missing
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/takdec.c')
-rw-r--r--libavcodec/takdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c
index 9878303c70..c9c861c6e3 100644
--- a/libavcodec/takdec.c
+++ b/libavcodec/takdec.c
@@ -931,7 +931,7 @@ AVCodec ff_tak_decoder = {
.init = tak_decode_init,
.close = tak_decode_close,
.decode = tak_decode_frame,
- .update_thread_context = update_thread_context,
+ .update_thread_context = ONLY_IF_THREADS_ENABLED(update_thread_context),
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
.long_name = NULL_IF_CONFIG_SMALL("TAK (Tom's lossless Audio Kompressor)"),
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P,