comparison lcldec.c @ 12068:8d969e96d080 libavcodec

Move #ifdef before zlib_decomp() up so it covers the Doxygen comments. Otherwise Doxygen gets confused and cannot map comments to functions.
author diego
date Fri, 02 Jul 2010 12:41:07 +0000
parents 7dd2a45249a9
children
comparison
equal deleted inserted replaced
12067:9aaff29c1e78 12068:8d969e96d080
115 115
116 return destptr - destptr_bak; 116 return destptr - destptr_bak;
117 } 117 }
118 118
119 119
120 #if CONFIG_ZLIB_DECODER
120 /** 121 /**
121 * \brief decompress a zlib-compressed data block into decomp_buf 122 * \brief decompress a zlib-compressed data block into decomp_buf
122 * \param src compressed input buffer 123 * \param src compressed input buffer
123 * \param src_len data length in input buffer 124 * \param src_len data length in input buffer
124 * \param offset offset in decomp_buf 125 * \param offset offset in decomp_buf
125 * \param expected expected decompressed length 126 * \param expected expected decompressed length
126 */ 127 */
127 #if CONFIG_ZLIB_DECODER
128 static int zlib_decomp(AVCodecContext *avctx, const uint8_t *src, int src_len, int offset, int expected) 128 static int zlib_decomp(AVCodecContext *avctx, const uint8_t *src, int src_len, int offset, int expected)
129 { 129 {
130 LclDecContext *c = avctx->priv_data; 130 LclDecContext *c = avctx->priv_data;
131 int zret = inflateReset(&c->zstream); 131 int zret = inflateReset(&c->zstream);
132 if (zret != Z_OK) { 132 if (zret != Z_OK) {