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

Michael Niedermayer michaelni at gmx.at
Fri Feb 3 16:55:12 CET 2012


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20120203/72eed601/attachment.asc>


More information about the ffmpeg-cvslog mailing list