Mercurial > libavcodec.hg
diff cscd.c @ 8590:7a463923ecd1 libavcodec
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
author | aurel |
---|---|
date | Tue, 13 Jan 2009 23:44:16 +0000 |
parents | 4525dcd81357 |
children | 967c0a1a60a0 |
line wrap: on
line diff
--- a/cscd.c Tue Jan 13 21:13:45 2009 +0000 +++ b/cscd.c Tue Jan 13 23:44:16 2009 +0000 @@ -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 @@ 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");