[FFmpeg-cvslog] avcodec/smc: Mark pixel pointer as const
Michael Niedermayer
git at videolan.org
Sun May 1 17:49:31 CEST 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun May 1 14:33:20 2016 +0200| [52623ef78546ac240cf28fe8be9dba9545911709] | committer: Michael Niedermayer
avcodec/smc: Mark pixel pointer as const
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=52623ef78546ac240cf28fe8be9dba9545911709
---
libavcodec/smc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/smc.c b/libavcodec/smc.c
index a423c45..3adf6c8 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;
More information about the ffmpeg-cvslog
mailing list