From c09da45ffbeb84b56ab4837e62919c3bf3684d4f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 2 Apr 2013 14:51:34 +0200 Subject: [PATCH] dsputil: Fix "warning: initialization discards const qualifier from pointer target type" Signed-off-by: Michael Niedermayer --- libavcodec/dsputil.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index b56af0ea24..da24fe4fcd 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -797,7 +797,7 @@ static inline void avg_tpel_pixels_mc22_c(uint8_t *dst, const uint8_t *src, int #define QPEL_MC(r, OPNAME, RND, OP) \ static void OPNAME ## mpeg4_qpel8_h_lowpass(uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h){\ - uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ + const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;\ int i;\ for(i=0; i