diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index b5905e1ea4..36847738d6 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -49,6 +49,7 @@ #include #include +#ifdef CONFIG_ZLIB #include #include "common.h" @@ -257,3 +258,4 @@ AVCodec flashsv_decoder = { CODEC_CAP_DR1, .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, -1}, }; +#endif //CONFIG_ZLIB