summaryrefslogtreecommitdiff
path: root/libavcodec/flashsv.c
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2007-01-21 17:48:03 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2007-01-21 17:48:03 +0000
commit97ec93e1767d379d835447f8069cc401de1664ce (patch)
treec2aae73b7cb1eb0b5a4c8a4186cb51e9e478e6bc /libavcodec/flashsv.c
parent0f7af066749d5146068952b04f99aeae94b9686d (diff)
Don't break compilation on systems without zlib.
Originally committed as revision 7608 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r--libavcodec/flashsv.c2
1 files changed, 2 insertions, 0 deletions
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