X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Fh264.c;h=b662e562f50d1e1d4f499b1abdb6e23a0216105c;hb=c09419ca80f1b1de4ceb3b9c06f708914150fa45;hp=8b95003f7546cb58b5655883be32114019628855;hpb=092d22ea755a6fb100dfcc286a75e56ba9acec51;p=ffmpeg diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 8b95003f754..b662e562f50 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -701,6 +701,7 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx) return 0; } +#if HAVE_THREADS static int decode_init_thread_copy(AVCodecContext *avctx) { H264Context *h = avctx->priv_data; @@ -719,6 +720,7 @@ static int decode_init_thread_copy(AVCodecContext *avctx) return 0; } +#endif /** * Run setup operations that must be run after slice header decoding.