1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-28 23:08:22 +02:00

avcodec/smc: Mark pixel pointer as const

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-05-01 14:33:20 +02:00
parent 25482d5c42
commit 52623ef785

View File

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