[FFmpeg-cvslog] avcodec: Add av_fast_padded_malloc().

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Feb 3 19:11:34 CET 2012


On Fri, Feb 03, 2012 at 04:55:12PM +0100, Michael Niedermayer wrote:
> On Thu, Feb 02, 2012 at 09:50:44AM +0100, Reimar Döffinger wrote:
> > On Thu, Feb 02, 2012 at 02:46:27AM +0100, Janne Grunau wrote:
> > > ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Tue Jan 31 15:40:11 2012 +0000| [316fc7443b05f8c8b494443f2dfe590434796902] | committer: Janne Grunau
> > > 
> > > avcodec: Add av_fast_padded_malloc().
> > > 
> > > Wrapper around av_fast_malloc() that keeps FF_INPUT_BUFFER_PADDING_SIZE
> > > zero-padded bytes at the end of the used buffer.
> > > 
> > > Based on a patch by Reimar Döffinger <Reimar.Doeffinger at gmx.de>.
> > 
> > No idea if you merged this, but this variant will not fix
> > valgrind failures mine did since it does not always ensure
> > all data in the buffer has been initialized at some point.
> 
> I mixed and shaked them together IIRC seems fate valgrind is still
> green so i naively assume i didnt mess up

FATE valgrind AFAIK does not test invalid reads because
1) there were (and possibly are) too many failures
2) it makes it even slower

That's why I wanted to set up a PPC64 instance for that but
due to missing libc/ld debug info it was not possible to
get valgrind to work on that.


More information about the ffmpeg-cvslog mailing list