aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-05-01 14:33:20 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-01 17:47:55 +0200
commit52623ef78546ac240cf28fe8be9dba9545911709 (patch)
tree33f5791ab3a992ef59bcca0b41ab3632b6ce2b51
parent25482d5c42cc85b83e4ea998d339b661936ae3f4 (diff)
downloadffmpeg-52623ef78546ac240cf28fe8be9dba9545911709.tar.gz
avcodec/smc: Mark pixel pointer as const
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/smc.c2
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;