mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 14:00:43 +00:00
Add const qualifier to rgb48 to YV12 functions' src.
Originally committed as revision 30301 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
a3e35e2852
commit
efc034cc0f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user