On 07/27/2012 02:49 PM, Mashiat Sarker Shakkhar wrote: > From: Michael Niedermayer <[email protected]> > > Fixes overread > > Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind > Signed-off-by: Michael Niedermayer <[email protected]> > --- > libavcodec/vc1dec.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-)
Can it be factorized at least, from what I can read it is basically clipping yline, how yline is calculated? > + src_h[sprite][1] = iplane + (xoff[sprite] >> 16) + > FFMIN(yline + 1, (v->sprite_height>>!!plane)-1) * iline; > + v->vc1dsp.sprite_h(v->sr_rows[sprite][1], iplane + > FFMIN(yline + 1, (v->sprite_height>>!!plane)-1) * iline, xoff[sprite], > xadv[sprite], width); lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
