Add const qualifier to rgb48 to YV12 functions' src.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30301 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ramiro 2010-01-14 06:19:45 +00:00
parent dadbe620d6
commit 1cda8b002f
1 changed files with 4 additions and 4 deletions

View File

@ -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);