summaryrefslogtreecommitdiff
path: root/libavcodec/4xm.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-22 18:09:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-22 18:09:28 +0200
commit544380aaf0da3c01877c887bde1fa740cacb4a9d (patch)
tree6a90f278bce0b47837f251803850ab786e32ddc7 /libavcodec/4xm.c
parent3a7f9db180d97bd0b9f096a725a96e76c709b42e (diff)
downloadffmpeg-544380aaf0da3c01877c887bde1fa740cacb4a9d.tar.gz
avcodec/4xm: Make src of decode_p_block() const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/4xm.c')
-rw-r--r--libavcodec/4xm.c2
1 files changed, 1 insertions, 1 deletions
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];