X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fexr.c;h=86a99086fe5966de535c0591887fad4d3a282f98;hb=b9fb1db9b42cfad6b4073daf70ca7b89840a1c15;hp=3b6b245187075230f6d208dca1368c3fea220ec1;hpb=e490fee6b971f53061d0d21ba0dd79e8a30c7f34;p=ffmpeg diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 3b6b2451870..86a99086fe5 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -1426,6 +1426,7 @@ static av_cold int decode_init(AVCodecContext *avctx) return 0; } +#if HAVE_THREADS static int decode_init_thread_copy(AVCodecContext *avctx) { EXRContext *s = avctx->priv_data; @@ -1436,6 +1437,7 @@ static int decode_init_thread_copy(AVCodecContext *avctx) return 0; } +#endif static av_cold int decode_end(AVCodecContext *avctx) {