[FFmpeg-cvslog] r19069 - trunk/libavcodec/lcldec.c
reimar
subversion
Sun May 31 21:51:21 CEST 2009
Author: reimar
Date: Sun May 31 21:51:21 2009
New Revision: 19069
Log:
add #if CONFIG_ZLIB_DECODER around zlib_decomp function.
Fixes compilation when zlib is not available.
Modified:
trunk/libavcodec/lcldec.c
Modified: trunk/libavcodec/lcldec.c
==============================================================================
--- trunk/libavcodec/lcldec.c Sun May 31 20:17:33 2009 (r19068)
+++ trunk/libavcodec/lcldec.c Sun May 31 21:51:21 2009 (r19069)
@@ -124,6 +124,7 @@ static unsigned int mszh_decomp(const un
* \param offset offset in decomp_buf
* \param expected expected decompressed length
*/
+#if CONFIG_ZLIB_DECODER
static int zlib_decomp(AVCodecContext *avctx, const uint8_t *src, int src_len, int offset, int expected)
{
LclDecContext *c = avctx->priv_data;
@@ -148,6 +149,7 @@ static int zlib_decomp(AVCodecContext *a
}
return c->zstream.total_out;
}
+#endif
/*
More information about the ffmpeg-cvslog
mailing list