mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Put variable declaration inside an #ifdef to avoid an unused variable warning.
Originally committed as revision 27945 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
ce09d560b7
commit
5155b8395c
@ -1826,11 +1826,12 @@ static inline void RENAME(rgb24ToY)(uint8_t *dst, uint8_t *src, long width, uint
|
||||
|
||||
static inline void RENAME(rgb24ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, long width, uint32_t *unused)
|
||||
{
|
||||
int i;
|
||||
assert(src1==src2);
|
||||
#ifdef HAVE_MMX
|
||||
assert(src1==src2);
|
||||
RENAME(bgr24ToUV_mmx)(dstU, dstV, src1, width, PIX_FMT_RGB24);
|
||||
#else
|
||||
int i;
|
||||
assert(src1==src2);
|
||||
for (i=0; i<width; i++)
|
||||
{
|
||||
int r= src1[3*i + 0];
|
||||
|
Loading…
Reference in New Issue
Block a user