# HG changeset patch # User michael # Date 1201837735 0 # Node ID a955fb25671dfd86d08d66a292d9278766510282 # Parent d402bcda236b4feeba68610c0fd627d333892ea4 const diff -r d402bcda236b -r a955fb25671d avs.c --- a/avs.c Fri Feb 01 03:48:32 2008 +0000 +++ b/avs.c Fri Feb 01 03:48:55 2008 +0000 @@ -44,12 +44,13 @@ static int avs_decode_frame(AVCodecContext * avctx, - void *data, int *data_size, uint8_t * buf, int buf_size) + void *data, int *data_size, const uint8_t * buf, int buf_size) { avs_context_t *const avs = avctx->priv_data; AVFrame *picture = data; AVFrame *const p = (AVFrame *) & avs->picture; - uint8_t *table, *vect, *out; + const uint8_t *table, *vect; + uint8_t *out; int i, j, x, y, stride, vect_w = 3, vect_h = 3; int sub_type; avs_block_type_t type;