Commit 04deea9a authored by Reimar Döffinger's avatar Reimar Döffinger

mark qtrle input data as const.

Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2907abed
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment