On 2/21/15, James Almer <jamr...@gmail.com> wrote: > Signed-off-by: James Almer <jamr...@gmail.com> > --- > At least this is what i interpreted 544 meant. This patch can be discarded > otherwise. > > libavcodec/takdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/takdec.c b/libavcodec/takdec.c > index 77170b5..059fdaa 100644 > --- a/libavcodec/takdec.c > +++ b/libavcodec/takdec.c > @@ -69,7 +69,7 @@ typedef struct TAKDecContext { > > int8_t coding_mode[128]; > DECLARE_ALIGNED(16, int16_t, filter)[MAX_PREDICTORS]; > - DECLARE_ALIGNED(16, int16_t, residues)[544]; > + DECLARE_ALIGNED(16, int16_t, residues)[MAX_PREDICTORS * 2 + > FF_INPUT_BUFFER_PADDING_SIZE]; > } TAKDecContext; > > static const int8_t mc_dmodes[] = { 1, 3, 4, 6, }; > -- > 2.3.0
AFAIK If FF_INPUT_BUFFER_PADDING_SIZE changes decoder will no longer work. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel