[FFmpeg-cvslog] Allow decoding of slightly broken Nikon avi files.

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jan 20 22:43:24 CET 2014


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> > +                if (avio_tell(s->pb) + size > tag_end)
> > +                    size = tag_end - avio_tell(s->pb);

> size = FFMIN(size, tag_end - avio_tell(s->pb));
> reduces it to one potential overflow.

I committed this, if it's not ok, please suggest.

Thank you for the review, Carl Eugen



More information about the ffmpeg-cvslog mailing list