OSDN Git Service

avcodec: Add av_fast_padded_malloc().
authorJanne Grunau <janne-libav@jannau.net>
Tue, 31 Jan 2012 15:40:11 +0000 (15:40 +0000)
committerJanne Grunau <janne-libav@jannau.net>
Wed, 1 Feb 2012 18:19:35 +0000 (19:19 +0100)
commit316fc7443b05f8c8b494443f2dfe590434796902
tree7df4f98d148aa26d044101109b632316252bc93c
parent378c5ef9ae1a504b5e363c5fa7193c3b4ca2267f
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@gmx.de>.
doc/APIchanges
libavcodec/avcodec.h
libavcodec/utils.c