From 97ec93e1767d379d835447f8069cc401de1664ce Mon Sep 17 00:00:00 2001
From: Benjamin Larsson <banan@ludd.ltu.se>
Date: Sun, 21 Jan 2007 17:48:03 +0000
Subject: 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(+)

(limited to 'libavcodec')

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 <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
-- 
cgit v1.2.3