diff options
author | Luca Abeni <lucabe72@email.it> | 2006-12-26 17:41:38 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2006-12-26 17:41:38 +0000 |
commit | 628bc5e8623e35d3a69d235eae8519fccdaea50b (patch) | |
tree | 161c8fdba78cfe25ddabf37ab0486f4280aa9a86 /libswscale/yuv2rgb.c | |
parent | a4da50e17ff0099ff8bbed16efaa8c32c53d674d (diff) | |
download | ffmpeg-628bc5e8623e35d3a69d235eae8519fccdaea50b.tar.gz |
Add some explicit casts to avoid "assignment from incompatible pointer type"
warnings
Originally committed as revision 21774 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r-- | libswscale/yuv2rgb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 55c4bb2d4b..645328ce78 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -213,9 +213,9 @@ const int32_t Inverse_Table_6_9[8][4] = { #define RGB(i) \ U = pu[i]; \ V = pv[i]; \ - r = c->table_rV[V]; \ - g = c->table_gU[U] + c->table_gV[V]; \ - b = c->table_bU[U]; + r = (void *)c->table_rV[V]; \ + g = (void *)(c->table_gU[U] + c->table_gV[V]); \ + b = (void *)c->table_bU[U]; #define DST1(i) \ Y = py_1[2*i]; \ |