diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-02-21 09:49:59 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-02-21 12:02:18 +0000 |
commit | 59015c1118ac70b883ab5a85f5766a7115fba60f (patch) | |
tree | 0fa89f1bfd4fd19908a6d4898a6ae34327899582 /libavcodec | |
parent | a3d890527ed3d4d65f3ed84e72df20b16e78dc80 (diff) | |
download | ffmpeg-59015c1118ac70b883ab5a85f5766a7115fba60f.tar.gz |
exr: constify s in rle_uncompress()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/exr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |