aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/cscd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cscd.c')
-rw-r--r--libavcodec/cscd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/cscd.c b/libavcodec/cscd.c
index ada6a712a3..55bf2ec128 100644
--- a/libavcodec/cscd.c
+++ b/libavcodec/cscd.c
@@ -23,7 +23,7 @@
#include "avcodec.h"
-#ifdef CONFIG_ZLIB
+#if CONFIG_ZLIB
#include <zlib.h>
#endif
#include "libavutil/lzo.h"
@@ -163,7 +163,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
break;
}
case 1: { // zlib compression
-#ifdef CONFIG_ZLIB
+#if CONFIG_ZLIB
unsigned long dlen = c->decomp_size;
if (uncompress(c->decomp_buf, &dlen, &buf[2], buf_size - 2) != Z_OK)
av_log(avctx, AV_LOG_ERROR, "error during zlib decompression\n");