From 97ec93e1767d379d835447f8069cc401de1664ce Mon Sep 17 00:00:00 2001 From: Benjamin Larsson Date: Sun, 21 Jan 2007 17:48:03 +0000 Subject: [PATCH] Don't break compilation on systems without zlib. Originally committed as revision 7608 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flashsv.c | 2 ++ 1 file changed, 2 insertions(+) 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