[FFmpeg-cvslog] exr: constify s in rle_uncompress()

Paul B Mahol git at videolan.org
Thu Feb 21 13:05:12 CET 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Feb 21 09:49:59 2013 +0000| [59015c1118ac70b883ab5a85f5766a7115fba60f] | committer: Paul B Mahol

exr: constify s in rle_uncompress()

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=59015c1118ac70b883ab5a85f5766a7115fba60f
---

 libavcodec/exr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 2b01e5a..46f816a 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;
 



More information about the ffmpeg-cvslog mailing list