[FFmpeg-devel] [PATCH] Avoid negative shifts in build_table()

Michael Niedermayer michaelni
Sun Feb 21 15:15:11 CET 2010

On Sun, Feb 21, 2010 at 01:48:34PM +0000, Mans Rullgard wrote:
> A shift by a negative amount has undefined behaviour.  Even though
> the result of this shift is never used, the shift itself could
> cause an exception of some kind.

ok if it passed make test

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- 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/20100221/5df06916/attachment.pgp>

More information about the ffmpeg-devel mailing list