1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avcodec/tta: Un-break build without threads

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-10-04 22:57:55 +02:00
parent 0c2b37fed4
commit 46f3015f35

View File

@ -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)