Change the type of Y table to pointer to void in fill_table().
authorBenoit Fouet <benoit.fouet@free.fr>
Mon, 12 Jul 2010 08:35:20 +0000 (08:35 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Mon, 12 Jul 2010 08:35:20 +0000 (08:35 +0000)
commit453d28af601ec9cab3d03a89a380f647188cc3dd
tree7d2d585d711e593208aed9a00d51bc7daa5c5bd9
parentfaa26db28bbe60e9adb3235905177fb6bbcc7efe
Change the type of Y table to pointer to void in fill_table().
This fixes warnings about wrong type being used, e.g.:
libswscale/yuv2rgb.c: In function ‘ff_yuv2rgb_c_init_tables’:
libswscale/yuv2rgb.c:778: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type
libswscale/yuv2rgb.c:598: note: expected ‘uint8_t *’ but argument is of type ‘uint16_t *’

Originally committed as revision 31722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/yuv2rgb.c