Commit 46f3015f authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/tta: Un-break build without threads

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0c2b37fe
...@@ -387,7 +387,6 @@ error: ...@@ -387,7 +387,6 @@ error:
return ret; return ret;
} }
#if HAVE_THREADS
static int init_thread_copy(AVCodecContext *avctx) static int init_thread_copy(AVCodecContext *avctx)
{ {
TTAContext *s = avctx->priv_data; TTAContext *s = avctx->priv_data;
...@@ -405,7 +404,6 @@ static av_cold int tta_decode_close(AVCodecContext *avctx) { ...@@ -405,7 +404,6 @@ static av_cold int tta_decode_close(AVCodecContext *avctx) {
return 0; return 0;
} }
#endif
#define OFFSET(x) offsetof(TTAContext, x) #define OFFSET(x) offsetof(TTAContext, x)
#define DEC (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM) #define DEC (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment