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>.
This commit is contained in:
Janne Grunau
2012-01-31 15:40:11 +00:00
parent 378c5ef9ae
commit 316fc7443b
3 changed files with 27 additions and 0 deletions
+5
View File
@@ -13,6 +13,11 @@ libavutil: 2011-04-18
API changes, most recent first:
2012-02-01 - xxxxxxx - lavc 54.01.0
Add av_fast_padded_malloc() as alternative for av_realloc() when aligned
memory is required. The buffer will always have FF_INPUT_BUFFER_PADDING_SIZE
zero-padded bytes at the end.
2012-01-31 - xxxxxxx - lavf 54.01.0
Add avformat_get_riff_video_tags() and avformat_get_riff_audio_tags().