On 2012-01-31 11:40:13 -0500, Justin Ruggles wrote: > From: Reimar Döffinger <[email protected]> > > Signed-off-by: Justin Ruggles <[email protected]> > --- > libavcodec/eatqi.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c > index aaf704b..179b84d 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);
ok Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
