On Sat, Sep 29, 2012 at 02:46:25PM +0200, Kostya Shishkov wrote:
> On Sat, Sep 29, 2012 at 02:04:55PM +0200, Anton Khirnov wrote:
> > --- a/libavcodec/wmalosslessdec.c
> > +++ b/libavcodec/wmalosslessdec.c
> > @@ -406,7 +406,8 @@ static void decode_ac_filter(WmallDecodeCtx *s)
> >  
> >      for (i = 0; i < s->acfilter_order; i++)
> > -        s->acfilter_coeffs[i] = get_bits(&s->gb, s->acfilter_scaling) + 1;
> > +        s->acfilter_coeffs[i] = (s->acfilter_scaling ?
> > +                                 get_bits(&s->gb, s->acfilter_scaling) : 
> > 0) + 1;
> >  }
> 
> OK if Diego agrees

Dunno what I'd have to agree with, but just in case: I agree. ;)

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to