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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Feb 2 09:50:44 CET 2012


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.


More information about the ffmpeg-cvslog mailing list