[Ffmpeg-devel] [PATCH] Fix some compiler warnings

Pieter Hollants pieter
Sat Jun 24 09:09:12 CEST 2006


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

The attached patch fixes some compiler warnings in the current SVN code.

The typecasts should be pretty self-explainatory, for the byte shifting
operations I added the module operator, which makes sure the apparantly
desired shift results are reached without exceeding the variable's width.

And yes, I know that's code that probably needs a rewrite anyway, yet I
belong to those who have a special eye on warnings during the build
process and it won't hurt to have existing code compile nicer in the
mean time ;) Please review.

- --
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

iD8DBQFEnOUXa8/cc5b1WpwRAubWAJ4zu8CvSSrs2hHCsfCi+KOOBqup4wCdG48r
pS9wscCYi5vRysEBroDX9yA=
=CfPz
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-warns.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060624/526ab2ce/attachment.txt>



More information about the ffmpeg-devel mailing list