comparison tscc.c @ 6286:07eeefc2825f libavcodec

const
author michael
date Fri, 01 Feb 2008 15:58:29 +0000
parents 2b72f9bc4f06
children 48759bfbd073
comparison
equal deleted inserted replaced
6285:5b44e0210dad 6286:07eeefc2825f
180 /* 180 /*
181 * 181 *
182 * Decode a frame 182 * Decode a frame
183 * 183 *
184 */ 184 */
185 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) 185 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
186 { 186 {
187 CamtasiaContext * const c = avctx->priv_data; 187 CamtasiaContext * const c = avctx->priv_data;
188 unsigned char *encoded = (unsigned char *)buf; 188 const unsigned char *encoded = buf;
189 unsigned char *outptr; 189 unsigned char *outptr;
190 #ifdef CONFIG_ZLIB 190 #ifdef CONFIG_ZLIB
191 int zret; // Zlib return code 191 int zret; // Zlib return code
192 #endif 192 #endif
193 int len = buf_size; 193 int len = buf_size;