You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/smc: Mark pixel pointer as const
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -92,7 +92,7 @@ static void smc_decode_stream(SmcContext *s)
|
|||||||
unsigned int color_flags_b;
|
unsigned int color_flags_b;
|
||||||
unsigned int flag_mask;
|
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 image_size = height * s->frame->linesize[0];
|
||||||
int row_ptr = 0;
|
int row_ptr = 0;
|
||||||
|
Reference in New Issue
Block a user