diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-01-30 18:33:32 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-01 14:37:46 -0500 |
commit | 00db4d4ad5d2313b18bda6bb6eeabb99db8f9c72 (patch) | |
tree | 253f86458b78166e422795919d45a851dceef3d3 /libavcodec/asv1.c | |
parent | 316fc7443b05f8c8b494443f2dfe590434796902 (diff) | |
download | ffmpeg-00db4d4ad5d2313b18bda6bb6eeabb99db8f9c72.tar.gz |
asv1: use av_fast_padded_malloc()
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r-- | libavcodec/asv1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index 8db23c07ef..754c1aa89a 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -408,7 +408,8 @@ static int decode_frame(AVCodecContext *avctx, p->pict_type= AV_PICTURE_TYPE_I; p->key_frame= 1; - av_fast_malloc(&a->bitstream_buffer, &a->bitstream_buffer_size, buf_size + FF_INPUT_BUFFER_PADDING_SIZE); + av_fast_padded_malloc(&a->bitstream_buffer, &a->bitstream_buffer_size, + buf_size); if (!a->bitstream_buffer) return AVERROR(ENOMEM); |