Commit e6f54c24 authored by reimar's avatar reimar

mark qtrle input data as const.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11820 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 04e01a35
...@@ -45,7 +45,7 @@ typedef struct QtrleContext { ...@@ -45,7 +45,7 @@ typedef struct QtrleContext {
DSPContext dsp; DSPContext dsp;
AVFrame frame; AVFrame frame;
unsigned char *buf; const unsigned char *buf;
int size; int size;
} QtrleContext; } QtrleContext;
...@@ -530,7 +530,7 @@ static int qtrle_decode_init(AVCodecContext *avctx) ...@@ -530,7 +530,7 @@ static int qtrle_decode_init(AVCodecContext *avctx)
static int qtrle_decode_frame(AVCodecContext *avctx, static int qtrle_decode_frame(AVCodecContext *avctx,
void *data, int *data_size, void *data, int *data_size,
uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
QtrleContext *s = avctx->priv_data; 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