4xm: make mcdc() src const
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 15 Mar 2012 21:07:54 +0000 (22:07 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 15 Mar 2012 21:07:54 +0000 (22:07 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/4xm.c

index 8758c6d..53ee855 100644 (file)
@@ -281,7 +281,7 @@ static void init_mv(FourXContext *f)
     }
 #endif
 
-static inline void mcdc(uint16_t *dst, uint16_t *src, int log2w,
+static inline void mcdc(uint16_t *dst, const uint16_t *src, int log2w,
                         int h, int stride, int scale, unsigned dc)
 {
     int i;