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

Måns Rullgård mans
Sun Feb 21 16:12:12 CET 2010


Michael Niedermayer <michaelni at gmx.at> writes:

> 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

It did, applied.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list