diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-01-31 03:34:10 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-01 23:37:47 +0400 |
commit | 2f4b9021a18312685f93768688e5e27a8ccd70a3 (patch) | |
tree | 0bed64c667d8960d4a9e9d2ea1f961fe22ca5b00 /libavcodec | |
parent | 00db4d4ad5d2313b18bda6bb6eeabb99db8f9c72 (diff) |
eatqi: use av_fast_padded_malloc()
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/eatqi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c index aaf704b41a..179b84d6a0 100644 --- a/libavcodec/eatqi.c +++ b/libavcodec/eatqi.c @@ -124,7 +124,8 @@ static int tqi_decode_frame(AVCodecContext *avctx, return -1; } - av_fast_malloc(&t->bitstream_buf, &t->bitstream_buf_size, (buf_end-buf) + FF_INPUT_BUFFER_PADDING_SIZE); + av_fast_padded_malloc(&t->bitstream_buf, &t->bitstream_buf_size, + buf_end - buf); if (!t->bitstream_buf) return AVERROR(ENOMEM); s->dsp.bswap_buf(t->bitstream_buf, (const uint32_t*)buf, (buf_end-buf)/4); |