On Wed, Sep 04, 2013 at 01:08:22PM -0700, John Stebbins wrote: > --- a/libavcodec/dca_parser.c > +++ b/libavcodec/dca_parser.c > @@ -122,7 +121,11 @@ static int dca_parse_params(const uint8_t *buf, int > buf_size, int *duration, > > - skip_bits(&gb, 20); > + *framesize = get_bits(&gb, 14) + 1; > + if (*framesize < 95) > + return AVERROR_INVALIDDATA;
Is 95 a Windows version? ;-p Seriously, could you avoid this magic number? Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
