Commit d06bb9f3 authored by ramiro's avatar ramiro

Add const qualifier to rgb48 to YV12 functions' src.

git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@30301 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 95f22fbb
...@@ -1111,8 +1111,8 @@ static inline void rgb48ToY(uint8_t *dst, const uint8_t *src, int width, ...@@ -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, static inline void rgb48ToUV(uint8_t *dstU, uint8_t *dstV,
uint8_t *src1, uint8_t *src2, int width, const uint8_t *src1, const uint8_t *src2,
uint32_t *unused) int width, uint32_t *unused)
{ {
int i; int i;
assert(src1==src2); assert(src1==src2);
...@@ -1127,8 +1127,8 @@ static inline void rgb48ToUV(uint8_t *dstU, uint8_t *dstV, ...@@ -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, static inline void rgb48ToUV_half(uint8_t *dstU, uint8_t *dstV,
uint8_t *src1, uint8_t *src2, int width, const uint8_t *src1, const uint8_t *src2,
uint32_t *unused) int width, uint32_t *unused)
{ {
int i; int i;
assert(src1==src2); assert(src1==src2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment