mark qtrle input data as const.

Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2008-02-02 22:09:07 +00:00
parent 2907abed17
commit 04deea9ad2

View File

@ -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;