mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 05:22:10 +00:00
avcodec/smc: Mark pixel pointer as const
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
25482d5c42
commit
52623ef785
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user