Hi, On Thu, Nov 3, 2011 at 4:03 PM, Alex Converse <[email protected]> wrote: > --- > libavcodec/vp6.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c > index e29f901..698b396 100644 > --- a/libavcodec/vp6.c > +++ b/libavcodec/vp6.c > @@ -413,8 +413,10 @@ static void vp6_parse_coeff_huffman(VP56Context *s) > } > } > coeff_idx+=run; > - cg = FFMIN(vp6_coeff_groups[coeff_idx], 3); > - vlc_coeff = &s->ract_vlc[pt][ct][cg]; > + if (coeff_idx < 64) { > + cg = FFMIN(vp6_coeff_groups[coeff_idx], 3); > + vlc_coeff = &s->ract_vlc[pt][ct][cg]; > + }
Do you want to return an error? I.e. else return -1 or so, perhaps under error_resilience>=EXPLODE? Or is this something that happens in regular streams? Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
