[Ffmpeg-devel] [PATCH] Fix compiler warning in libavcodec/dsputil.c

Pieter Hollants pieter
Sun Jun 25 16:12:49 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok, patches revisited, this is the first hunk of what I sent before.

This fixes the warning in libavcodec/dsputil.c's dct264_sad8x8_c the
same way dct_sad8x8_c does it, by typecasting to (DCTELEM *). The only
other way I can think of would be to modify the diff_pixel prototypes,
but since the typecast exists in the other function already, I assume
this was not done by intent.

This one ok?

- --
Pieter "Fate" Hollants <pieter at hollants.com>
(a current GnuPG key is available at www.hollants.com/gnupg.txt)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEnpnha8/cc5b1WpwRAri9AKDVT7ubZwozbv5hbUZCebccu6Z7fgCg5CMd
ffLKdmz1DaGrnLPSuRZEM4Q=
=2q7Y
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dsputil_warn.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060625/1c35853c/attachment.txt>



More information about the ffmpeg-devel mailing list