diff options
Diffstat (limited to 'libavcodec/pngdec.c')
-rw-r--r-- | libavcodec/pngdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index bd84ee994f..d18014142a 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -1340,6 +1340,7 @@ end: } #endif +#if HAVE_THREADS static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src) { PNGDecContext *psrc = src->priv_data; @@ -1387,6 +1388,7 @@ static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src) return 0; } +#endif static av_cold int png_dec_init(AVCodecContext *avctx) { |