# HG changeset patch # User michael # Date 1201874814 0 # Node ID 8705a4d4904f4ce284eb493b8eaa48ab6032a1e4 # Parent aa954496a445afdcd864bd037e14ce49ef6c5c9b const diff -r aa954496a445 -r 8705a4d4904f rpza.c --- a/rpza.c Fri Feb 01 14:03:56 2008 +0000 +++ b/rpza.c Fri Feb 01 14:06:54 2008 +0000 @@ -48,7 +48,7 @@ DSPContext dsp; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; } RpzaContext; @@ -243,7 +243,7 @@ static int rpza_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { RpzaContext *s = avctx->priv_data;