mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 19:58:59 +00:00
Remove 2 useless += at the end of rgb16to15(), found by CSA.
Originally committed as revision 29189 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
a256445ec3
commit
b36da2c215
@ -323,8 +323,6 @@ static inline void RENAME(rgb16to15)(const uint8_t *src, uint8_t *dst, long src_
|
|||||||
{
|
{
|
||||||
register uint16_t x= *((const uint16_t*)s);
|
register uint16_t x= *((const uint16_t*)s);
|
||||||
*((uint16_t *)d) = ((x>>1)&0x7FE0) | (x&0x001F);
|
*((uint16_t *)d) = ((x>>1)&0x7FE0) | (x&0x001F);
|
||||||
s+=2;
|
|
||||||
d+=2;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user