aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alac.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/alac.c
parentffb1051b9b9b876aba109d6ae402ab3a50183554 (diff)
downloadandroid_external_ffmpeg-61d900fd0df6e29674fc453db0c0dcc9cb2ba6b9.tar.gz
android_external_ffmpeg-61d900fd0df6e29674fc453db0c0dcc9cb2ba6b9.tar.bz2
android_external_ffmpeg-61d900fd0df6e29674fc453db0c0dcc9cb2ba6b9.zip
lavc: add ONLY_IF_THREADS_ENABLED where it is missing
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 9a6a118148..c6f01b329f 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -632,7 +632,7 @@ AVCodec ff_alac_decoder = {
.init = alac_decode_init,
.close = alac_decode_close,
.decode = alac_decode_frame,
- .init_thread_copy = init_thread_copy,
+ .init_thread_copy = ONLY_IF_THREADS_ENABLED(init_thread_copy),
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
.long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
};