Commit 52623ef7 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/smc: Mark pixel pointer as const

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 25482d5c
......@@ -92,7 +92,7 @@ static void smc_decode_stream(SmcContext *s)
unsigned int color_flags_b;
unsigned int flag_mask;
unsigned char *pixels = s->frame->data[0];
unsigned char * const pixels = s->frame->data[0];
int image_size = height * s->frame->linesize[0];
int row_ptr = 0;
......
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