# HG changeset patch # User ramiro # Date 1263449985 0 # Node ID 2c671b7d2bd4acb9c9708259544475ec528f14c6 # Parent 5788ae4c1e89471f2f87e35145589c914671c2fc Add const qualifier to rgb48 to YV12 functions' src. diff -r 5788ae4c1e89 -r 2c671b7d2bd4 libswscale/swscale.c --- a/libswscale/swscale.c Thu Jan 14 06:19:10 2010 +0000 +++ b/libswscale/swscale.c Thu Jan 14 06:19:45 2010 +0000 @@ -1111,8 +1111,8 @@ } 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_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);