From 544380aaf0da3c01877c887bde1fa740cacb4a9d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 22 Sep 2014 18:09:28 +0200 Subject: [PATCH] avcodec/4xm: Make src of decode_p_block() const Signed-off-by: Michael Niedermayer --- libavcodec/4xm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 3d3bc56214..ff1008200d 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -339,7 +339,7 @@ static inline void mcdc(uint16_t *dst, const uint16_t *src, int log2w, } } -static int decode_p_block(FourXContext *f, uint16_t *dst, uint16_t *src, +static int decode_p_block(FourXContext *f, uint16_t *dst, const uint16_t *src, int log2w, int log2h, int stride) { const int index = size2index[log2h][log2w];