comparison lcldec.c @ 6218:dfdff1ca78a7 libavcodec

consts I have underestimated this a little, and these are just some ...
author michael
date Fri, 01 Feb 2008 03:26:31 +0000
parents fc46b3f5de1a
children 551232d0fa74
comparison
equal deleted inserted replaced
6217:f838213ca91b 6218:dfdff1ca78a7
159 /* 159 /*
160 * 160 *
161 * Decode a frame 161 * Decode a frame
162 * 162 *
163 */ 163 */
164 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) 164 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
165 { 165 {
166 LclDecContext * const c = avctx->priv_data; 166 LclDecContext * const c = avctx->priv_data;
167 unsigned char *encoded = (unsigned char *)buf; 167 unsigned char *encoded = (unsigned char *)buf;
168 unsigned int pixel_ptr; 168 unsigned int pixel_ptr;
169 int row, col; 169 int row, col;