diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-01 14:33:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-01 17:47:55 +0200 |
commit | 52623ef78546ac240cf28fe8be9dba9545911709 (patch) | |
tree | 33f5791ab3a992ef59bcca0b41ab3632b6ce2b51 | |
parent | 25482d5c42cc85b83e4ea998d339b661936ae3f4 (diff) | |
download | ffmpeg-52623ef78546ac240cf28fe8be9dba9545911709.tar.gz |
avcodec/smc: Mark pixel pointer as const
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/smc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/smc.c b/libavcodec/smc.c index a423c455cc..3adf6c899c 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -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; |