From: Reimar Döffinger Date: Sat, 2 Feb 2008 22:09:07 +0000 (+0000) Subject: mark qtrle input data as const. X-Git-Tag: v0.5~6146 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04deea9ad25299579dbbe0e4103e8141b165a666;p=platform%2Fupstream%2Flibav.git mark qtrle input data as const. Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c index 06ea48e..84482ba 100644 --- a/libavcodec/qtrle.c +++ b/libavcodec/qtrle.c @@ -45,7 +45,7 @@ typedef struct QtrleContext { DSPContext dsp; AVFrame frame; - unsigned char *buf; + const unsigned char *buf; int size; } QtrleContext; @@ -530,7 +530,7 @@ static int qtrle_decode_init(AVCodecContext *avctx) 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;