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