[FFmpeg-devel] [PATCH] fix wrong argument type warning in yuv2rgb.c
Michael Niedermayer
michaelni
Fri Jul 9 16:30:11 CEST 2010
On Thu, Jul 08, 2010 at 11:40:17AM +0200, Benoit Fouet wrote:
> Hi,
>
> here is a patch to $subj.
>
> This fixes:
> 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 *?
> libswscale/yuv2rgb.c:779: 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 *?
> libswscale/yuv2rgb.c:780: 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 *?
> libswscale/yuv2rgb.c:801: 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 *?
> libswscale/yuv2rgb.c:802: 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 *?
> libswscale/yuv2rgb.c:803: 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 *?
> libswscale/yuv2rgb.c:838: warning: passing argument 4 of ?fill_table? from incompatible pointer type
> libswscale/yuv2rgb.c:598: note: expected ?uint8_t *? but argument is of type ?uint32_t *?
> libswscale/yuv2rgb.c:839: warning: passing argument 4 of ?fill_table? from incompatible pointer type
> libswscale/yuv2rgb.c:598: note: expected ?uint8_t *? but argument is of type ?uint32_t *?
> libswscale/yuv2rgb.c:840: warning: passing argument 4 of ?fill_table? from incompatible pointer type
> libswscale/yuv2rgb.c:598: note: expected ?uint8_t *? but argument is of type ?uint32_t *?
>
> Please comment.
ok with me
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100709/41c9803f/attachment.pgp>
More information about the ffmpeg-devel
mailing list