[FFmpeg-devel] [PATCH] get rid of useless casts in libavcodec/ppc/dsputil_altivec.c
Diego Biurrun
diego
Mon May 18 07:48:18 CEST 2009
Here is a patch to remove a bunch of seemingly useless casts from
libavcodec/ppc/dsputil_altivec.c. As a nice side effect, it also
eliminates the following warnings:
libavcodec/ppc/dsputil_altivec.c: In function 'put_pixels16_altivec':
libavcodec/ppc/dsputil_altivec.c:641: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c:642: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c:643: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c:644: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c:645: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c:646: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c:647: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c:648: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c: In function 'avg_pixels16_altivec':
libavcodec/ppc/dsputil_altivec.c:676: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c:677: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c: In function 'avg_pixels8_altivec':
libavcodec/ppc/dsputil_altivec.c:704: warning: cast discards qualifiers from pointer target type
libavcodec/ppc/dsputil_altivec.c:705: warning: cast discards qualifiers from pointer target type
Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsputil_altivec.diff
Type: text/x-diff
Size: 2631 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090518/5bfa6b78/attachment.diff>
More information about the ffmpeg-devel
mailing list