From 59015c1118ac70b883ab5a85f5766a7115fba60f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 21 Feb 2013 09:49:59 +0000 Subject: [PATCH] exr: constify s in rle_uncompress() Signed-off-by: Paul B Mahol --- libavcodec/exr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 2b01e5aa16..46f816a95a 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -188,7 +188,7 @@ static void reorder_pixels(uint8_t *src, uint8_t *dst, int size) static int rle_uncompress(const uint8_t *src, int ssize, uint8_t *dst, int dsize) { int8_t *d = (int8_t *)dst; - int8_t *s = (int8_t *)src; + const int8_t *s = (const int8_t *)src; int8_t *dend = d + dsize; int count;