aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-01 03:35:27 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-01 03:35:27 +0000
commit74498eb44b87120cdcd48ba23728b818def5faee (patch)
tree5cb3b71f29f730db7d2e38a3885aa753e5a552e9
parent73d046e21fc4b35890e64eee4af5dfe7f833ab3a (diff)
downloadffmpeg-74498eb44b87120cdcd48ba23728b818def5faee.tar.gz
cast to correct type, suppress warnings
Originally committed as revision 26948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 295926e881..01b175c354 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2542,7 +2542,7 @@ int sws_scale(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
int v= av_clip_uint8(((RV*r + GV*g + BV*b)>>RGB2YUV_SHIFT) + 128);
pal[i]= y + (u<<8) + (v<<16);
}
- src2[1]= pal;
+ src2[1]= (uint8_t*)pal;
}
// copy strides, so they can safely be modified