Move #ifdef before zlib_decomp() up so it covers the Doxygen comments.
authorDiego Biurrun <diego@biurrun.de>
Fri, 2 Jul 2010 12:41:07 +0000 (12:41 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 2 Jul 2010 12:41:07 +0000 (12:41 +0000)
Otherwise Doxygen gets confused and cannot map comments to functions.

Originally committed as revision 23988 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/lcldec.c

index 2bf448a..23af511 100644 (file)
@@ -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;