Janne Grunau <[email protected]> writes: > --- > libavcodec/mimic.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c > index fd7efef..c06b8f3 100644 > --- a/libavcodec/mimic.c > +++ b/libavcodec/mimic.c > @@ -370,8 +370,7 @@ static int mimic_decode_frame(AVCodecContext *avctx, void > *data, > > ff_thread_finish_setup(avctx); > > - av_fast_malloc(&ctx->swap_buf, &ctx->swap_buf_size, > - swap_buf_size + > FF_INPUT_BUFFER_PADDING_SIZE); > + av_fast_padded_malloc(&ctx->swap_buf, &ctx->swap_buf_size, > swap_buf_size); > if(!ctx->swap_buf) > return AVERROR(ENOMEM); > > --
LGTM -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
