Don't break compilation on systems without zlib.
authorBenjamin Larsson <banan@ludd.ltu.se>
Sun, 21 Jan 2007 17:48:03 +0000 (17:48 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Sun, 21 Jan 2007 17:48:03 +0000 (17:48 +0000)
Originally committed as revision 7608 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/flashsv.c

index b5905e1..3684773 100644 (file)
@@ -49,6 +49,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#ifdef CONFIG_ZLIB
 #include <zlib.h>
 
 #include "common.h"
@@ -257,3 +258,4 @@ AVCodec flashsv_decoder = {
     CODEC_CAP_DR1,
     .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, -1},
 };
+#endif //CONFIG_ZLIB