[FFmpeg-devel] Possible array overflow in libavcodec/adpcm.c

Philipp Thomas pth at suse.de
Thu Mar 22 12:15:18 CET 2012

* Reimar Döffinger (Reimar.Doeffinger at gmx.de) [20120321 20:11]:

> On Wed, Mar 21, 2012 at 07:45:21PM +0100, Philipp Thomas wrote:

> Usually for speed reasons. But I can't find the code you mention with
> prev, I think that was changed. So I guess you could change the "table"
> code the same way.

Yes, the code from git trunk only has the initialisation of table. And I
doubt the this is measurably faster than doing it cleanly and letting the
compiler optimize it.


More information about the ffmpeg-devel mailing list