From: Diego Biurrun Date: Fri, 2 Jul 2010 12:41:07 +0000 (+0000) Subject: Move #ifdef before zlib_decomp() up so it covers the Doxygen comments. X-Git-Tag: v0.7b1~3403 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b34aaed2cf31b188fe1778f9fdac14ce53369eca;p=platform%2Fupstream%2Flibav.git Move #ifdef before zlib_decomp() up so it covers the Doxygen comments. Otherwise Doxygen gets confused and cannot map comments to functions. Originally committed as revision 23988 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 2bf448a..23af511 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -117,6 +117,7 @@ static unsigned int mszh_decomp(const unsigned char * srcptr, int srclen, unsign } +#if CONFIG_ZLIB_DECODER /** * \brief decompress a zlib-compressed data block into decomp_buf * \param src compressed input buffer @@ -124,7 +125,6 @@ static unsigned int mszh_decomp(const unsigned char * srcptr, int srclen, unsign * \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;