From 184fcc60b7ce5b5c240ba9e0511912d9911dca3b Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Tue, 14 Apr 2009 04:07:35 +0000 Subject: Mark src constant in copy_block*(). Originally committed as revision 18506 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index e9c2bfc77e..345dca9da6 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -819,7 +819,7 @@ static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int st } -static inline void copy_block2(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h) +static inline void copy_block2(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) { int i; for(i=0; i