# HG changeset patch # User reimar # Date 1201990147 0 # Node ID 9ac5c0cfeb5634864c0005764a3edafb87a5c0a7 # Parent de5d97b6c25bec774553cc7b02322a1c64abcaf7 mark qtrle input data as const. diff -r de5d97b6c25b -r 9ac5c0cfeb56 qtrle.c --- a/qtrle.c Sat Feb 02 21:55:56 2008 +0000 +++ b/qtrle.c Sat Feb 02 22:09:07 2008 +0000 @@ -45,7 +45,7 @@ DSPContext dsp; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; } QtrleContext; @@ -530,7 +530,7 @@ static int qtrle_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - uint8_t *buf, int buf_size) + const uint8_t *buf, int buf_size) { QtrleContext *s = avctx->priv_data;