X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fhuffyuvdec.c;h=7314519fca1f176d13f2a39d00aa41a79ac1f1b1;hb=71199ee9077da7d92a8728e2a694fb1ab31488a7;hp=a700abb9418c2b621377f415014873153b6b240c;hpb=c36e85b3d9a13a223a621e7c322ce5903080cc4b;p=ffmpeg diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c index a700abb9418..7314519fca1 100644 --- a/libavcodec/huffyuvdec.c +++ b/libavcodec/huffyuvdec.c @@ -571,6 +571,7 @@ static av_cold int decode_init(AVCodecContext *avctx) return ret; } +#if HAVE_THREADS static av_cold int decode_init_thread_copy(AVCodecContext *avctx) { HYuvContext *s = avctx->priv_data; @@ -595,6 +596,7 @@ static av_cold int decode_init_thread_copy(AVCodecContext *avctx) return 0; } +#endif /** Subset of GET_VLC for use in hand-roller VLC code */ #define VLC_INTERN(dst, table, gb, name, bits, max_depth) \