diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-01-14 06:19:45 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-01-14 06:19:45 +0000 |
commit | efc034cc0fa97702d7d3c87491dd420f60aab822 (patch) | |
tree | 4cc9b724a77290bd8e23aec7bd7f302034c2592b | |
parent | a3e35e2852bc8e04f5aeb0b915114094aa1ac7a6 (diff) | |
download | ffmpeg-efc034cc0fa97702d7d3c87491dd420f60aab822.tar.gz |
Add const qualifier to rgb48 to YV12 functions' src.
Originally committed as revision 30301 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 0e86af9cf5..0987f4d1e5 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1111,8 +1111,8 @@ static inline void rgb48ToY(uint8_t *dst, const uint8_t *src, int width, } static inline void rgb48ToUV(uint8_t *dstU, uint8_t *dstV, - uint8_t *src1, uint8_t *src2, int width, - uint32_t *unused) + const uint8_t *src1, const uint8_t *src2, + int width, uint32_t *unused) { int i; assert(src1==src2); @@ -1127,8 +1127,8 @@ static inline void rgb48ToUV(uint8_t *dstU, uint8_t *dstV, } static inline void rgb48ToUV_half(uint8_t *dstU, uint8_t *dstV, - uint8_t *src1, uint8_t *src2, int width, - uint32_t *unused) + const uint8_t *src1, const uint8_t *src2, + int width, uint32_t *unused) { int i; assert(src1==src2); |