summaryrefslogtreecommitdiff
path: root/libavcodec/tta.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-10-04 22:57:55 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-04 23:07:44 +0200
commit46f3015f35258ac53d7103cbf6c4f7df589ecaf8 (patch)
tree1ddb94f4cd2c39d25c998381da10b6b26466f018 /libavcodec/tta.c
parent0c2b37fed43eb21df93251f1a79b195178ae3ded (diff)
downloadffmpeg-46f3015f35258ac53d7103cbf6c4f7df589ecaf8.tar.gz
avcodec/tta: Un-break build without threads
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r--libavcodec/tta.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 1ed90fe49e..1e2e9c4ef4 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -387,7 +387,6 @@ error:
return ret;
}
-#if HAVE_THREADS
static int init_thread_copy(AVCodecContext *avctx)
{
TTAContext *s = avctx->priv_data;
@@ -405,7 +404,6 @@ static av_cold int tta_decode_close(AVCodecContext *avctx) {
return 0;
}
-#endif
#define OFFSET(x) offsetof(TTAContext, x)
#define DEC (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM)